Skip to content

Commit

Permalink
pytest.ini: drop required coverage to 70%
Browse files Browse the repository at this point in the history
We haven't invested too much in trying to unit test our Python code. It's
mostly glue code stuff that's better tested with integration tests like
we do in CI and pipelines.

Let's only lower the threshold here for now but in the future we should
probably consider just dropping a threshold entirely.

Prompted by #3618 which triggered this.
  • Loading branch information
jlebon committed Oct 19, 2023
1 parent d51baf0 commit a328f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
addopts = --cov=cosalib.cli --cov=cosalib.meta --cov=cosalib.cmdlib --cov-report term --cov-fail-under=75
addopts = --cov=cosalib.cli --cov=cosalib.meta --cov=cosalib.cmdlib --cov-report term --cov-fail-under=70

0 comments on commit a328f2c

Please sign in to comment.