diff --git a/Makefile b/Makefile index d4441660746..28531a5e57c 100644 --- a/Makefile +++ b/Makefile @@ -56,11 +56,11 @@ generate: ## Generate the pydantic models from the JSON Schemas to the ingestio ## Ingestion tests & QA .PHONY: run_ometa_integration_tests run_ometa_integration_tests: ## Run Python integration tests - coverage run -m pytest -c ingestion/setup.cfg --doctest-modules --junitxml=ingestion/junit/test-results-integration.xml --override-ini=testpaths="ingestion/tests/integration/ometa ingestion/tests/integration/stage" + coverage run -m pytest -c ingestion/setup.cfg --doctest-modules --junitxml=ingestion/junit/test-results-integration.xml ingestion/tests/integration/ometa ingestion/tests/integration/stage .PHONY: unit_ingestion unit_ingestion: ## Run Python unit tests - coverage run -m pytest -c ingestion/setup.cfg -s --doctest-modules --junitxml=ingestion/junit/test-results-unit.xml --override-ini=testpaths="ingestion/tests/unit" + coverage run -m pytest -c ingestion/setup.cfg -s --doctest-modules --junitxml=ingestion/junit/test-results-unit.xml ingestion/tests/unit .PHONY: coverage coverage: ## Run all Python tests and generate the coverage report diff --git a/ingestion/setup.py b/ingestion/setup.py index 5357db07745..d23fa52ba8d 100644 --- a/ingestion/setup.py +++ b/ingestion/setup.py @@ -126,7 +126,7 @@ test = { "isort", "pre-commit", "pylint", - "pytest==6.2.5", + "pytest==7.0.0", "pytest-cov", "faker", "coverage",