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:
Gabriel Luiz Freitas Almeida 2024-06-22 23:45:24 -03:00
commit 6794a5542f

View file

@ -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)