Set coverage threshold to 90%

This commit is contained in:
Falco Duersch
2018-10-23 11:08:35 +02:00
committed by f4lco
parent fd1e4eb9c5
commit 3f73916814
2 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -8,4 +8,5 @@ install:
script: script:
- make test - make test
- make coverage - make coverage_publish
- make coverage_report
+9 -2
View File
@@ -16,7 +16,14 @@ test:
test_debug: test_debug:
pipenv run python -m pytest -v --trace pipenv run python -m pytest -v --trace
coverage: coverage_publish:
pipenv run python -m coveralls pipenv run python -m coveralls
.PHONY: dependencies run debug test test_debug coverage coverage_report:
pipenv run python -m coverage report --fail-under 90
clean:
pipenv run python -m coverage erase
rm -rf .pytest_cache .cache
.PHONY: dependencies run debug test test_debug coverage_publish coverage_report clean