From 6794a5542fce06afc2ac9f5b93598e7035bdf41d Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sat, 22 Jun 2024 23:45:24 -0300 Subject: [PATCH] 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. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 733056f82..853fe6196 100644 --- a/Makefile +++ b/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)