refactor: Update Makefile to ignore integration tests in unit_tests
The Makefile has been updated to ignore the integration tests when running the unit_tests target. This change improves the efficiency of the unit testing process by excluding unnecessary tests.
This commit is contained in:
parent
a9b2f5f82e
commit
6794a5542f
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -56,7 +56,8 @@ coverage: ## run the tests and generate a coverage report
|
|||
|
||||
# allow passing arguments to pytest
|
||||
unit_tests:
|
||||
poetry run pytest tests/unit --instafail -ra -n auto -m "not api_key_required" $(args)
|
||||
poetry run pytest --ignore=tests/integration --instafail -ra -n auto -m "not api_key_required" $(args)
|
||||
|
||||
|
||||
integration_tests:
|
||||
poetry run pytest tests/integration --instafail -ra -n auto $(args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue