add mean_abs
and sum_abs
to lineplot_and_heatmap
(#183)
#44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: install package and dependencies | |
run: pip install -e . && pip install -r test_requirements.txt | |
- name: lint code with ruff | |
run: ruff check . | |
- name: check code format with black | |
run: black --check . | |
- name: test code with `pytest` | |
run: pytest |