Skip to content

Commit

Permalink
Didn't fix it. Make tests verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
kavanase committed Aug 29, 2023
1 parent 5b21027 commit c9e3a1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pip_install_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ jobs:
run: |
sleep 10m # wait 10 minutes for PyPI to update with the new release
python -m pip install --upgrade pip
pip install numpy
pip install shakenbreak[tests] # install only from PyPI
- name: Test
run: |
pytest tests # test everything
pytest --mpl tests/test_plotting.py # plotting tests
pytest --mpl tests/test_shakenbreak.py # plotting tests
pytest tests -vv # test everything
pytest --mpl tests/test_plotting.py -vv # plotting tests
pytest --mpl tests/test_shakenbreak.py -vv # plotting tests
# pytest --mpl-generate-path=tests/remote_baseline tests/test_plotting.py # generate output plots
# pytest --mpl-generate-path=tests/remote_baseline tests/test_shakenbreak.py # generate output plots
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy
pip install -e .[tests]
- name: Check package versions
Expand All @@ -43,9 +42,9 @@ jobs:
- name: Test
run: |
pytest tests # test everything
pytest --mpl tests/test_plotting.py # plotting tests
pytest --mpl tests/test_shakenbreak.py # plotting tests
pytest tests -vv # test everything
pytest --mpl tests/test_plotting.py -vv # plotting tests
pytest --mpl tests/test_shakenbreak.py -vv # plotting tests
# To generate the test plots:
# pytest --mpl-generate-path=tests/remote_baseline tests/test_plotting.py # generate output plots
Expand Down

0 comments on commit c9e3a1f

Please sign in to comment.