Set coverage threshold to 90%
This commit is contained in:
+2
-1
@@ -8,4 +8,5 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test
|
||||||
- make coverage
|
- make coverage_publish
|
||||||
|
- make coverage_report
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user