Skip to content

Commit

Permalink
Add comment to Makefile to explain multiple pytest runs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarsden committed Mar 3, 2021
1 parent 3dfeec3 commit 38e96ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ sast: .venv ## run static application security testing
checklicenses: .venv requirements.txt ## check dependencies meet licence rules
poetry run liccheck -s liccheck.ini

test: .venv ## run tests quickly with the default Python
## run tests quickly with the default Python
## Multiple pytest runs are necessary as once the gsfpy package has been loaded for a
## specific version of GSF, or with a custom shared object library, it cannot be unloaded.
test: .venv
poetry run pytest --ignore-glob=tests/gsfpy3_08/* --ignore-glob=tests/gsfpy3_09/* --ignore-glob=tests/gsfpy/test_gsffile_with_*.py --verbose --capture=no
poetry run pytest --ignore-glob=tests/gsfpy3_08/* --ignore-glob=tests/gsfpy3_09/* --ignore-glob=tests/gsfpy/test_gsffile.py --verbose --capture=no
poetry run pytest tests/gsfpy3_08/test_libgsf_load_valid.py --verbose --capture=no
Expand Down

0 comments on commit 38e96ab

Please sign in to comment.