Fix #2625: Use pytest 7.0.0 (#2640)

This commit is contained in:
Pere Miquel Brull 2022-02-06 23:41:56 +01:00 committed by GitHub
parent 7aceab41a2
commit 08a46814e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -126,7 +126,7 @@ test = {
"isort",
"pre-commit",
"pylint",
"pytest==6.2.5",
"pytest==7.0.0",
"pytest-cov",
"faker",
"coverage",