Skip to content

Commit

Permalink
Merge pull request #5 from tisnik/set-code-coverage-threshold-checker
Browse files Browse the repository at this point in the history
Code coverage threshold checker on CI
  • Loading branch information
tisnik authored Nov 9, 2023
2 parents 70a3bf9 + 7a54196 commit 3125c5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ default: tests
unit_tests: ## Run all unit tests defined in this project
export PATH=tools/:$$PATH;export PYTHONDONTWRITEBYTECODE=1;pytest -v -p no:cacheprovider

coverage: ## Calculate unit test code coverage for the whole repository
export PATH=tools/:$$PATH;export PYTHONDONTWRITEBYTECODE=1;pytest -v -p no:cacheprovider --cov features/
coverage: ## Calculate unit test code coverage for the whole repository
export PATH=tools/:$$PATH;export PYTHONDONTWRITEBYTECODE=1;pytest -v -p no:cacheprovider --cov dvo_extractor/ --cov-fail-under=70

coverage-report: ## Generate HTML pages with unit test code coverage report
export PATH=tools/:$$PATH;export PYTHONDONTWRITEBYTECODE=1;pytest -v -p no:cacheprovider --cov features/ --cov-report=html
export PATH=tools/:$$PATH;export PYTHONDONTWRITEBYTECODE=1;pytest -v -p no:cacheprovider --cov dvo_extractor/ --cov-report=html

style: code-style docs-style ## Perform all style checks

Expand Down

0 comments on commit 3125c5a

Please sign in to comment.