Skip to content

Commit

Permalink
Enforce minimum Python coverage (#2153)
Browse files Browse the repository at this point in the history
Test coverage has increased steadily over the last month. To make sure we are not going back, adding a minimum level of (currently) 92%. If the coverage drops below this level, pytest will fail.
  • Loading branch information
zundertj committed Dec 24, 2021
1 parent a4c7c2b commit 8f9d351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test: venv
$(PYTHON) -m pytest tests

test-with-cov: venv
@cd tests && ../$(PYTHON) -m pytest --cov=polars --import-mode=importlib
@cd tests && ../$(PYTHON) -m pytest --cov=polars --cov-fail-under=92 --import-mode=importlib

doctest:
cd tests && ../$(PYTHON) run_doc_examples.py
Expand Down

0 comments on commit 8f9d351

Please sign in to comment.