Skip to content

Commit

Permalink
chore(project): Enforce code coverage (#325)
Browse files Browse the repository at this point in the history
* chore(project): Enforce code coverage

Signed-off-by: siyaka promise <[email protected]>

* modify min coverage

Signed-off-by: siyaka promise <[email protected]>

---------

Signed-off-by: siyaka promise <[email protected]>
  • Loading branch information
cashall-0 authored Nov 19, 2024
1 parent bd8d0fc commit 7820687
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
BLACK_CHECK = black -l 90 --check --diff .
BLACK_FIX = black -l 90 .
FOXPUPPET_TESTS = pytest -vvv --driver Firefox --cov --html results/report.html
MINIMUM_COVERAGE = 95
FOXPUPPET_TESTS = pytest -vvv --driver Firefox --cov --cov-fail-under=$(MINIMUM_COVERAGE) --html results/report.html

check: install_poetry lint test

Expand Down

0 comments on commit 7820687

Please sign in to comment.