Skip to content

Commit

Permalink
Lower min test coverage in tox.ini to 90%
Browse files Browse the repository at this point in the history
Tests on Windows fail because they don't have 95% coverage (only
~93 %). This commit lowers the requirement to a value that seems
reasonable for all platforms.

Coverage measurement may be fine tuned with secure-systems-lab#208 and changed back
to a higher value if desired.

Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Feb 21, 2023
1 parent 8c1d9ed commit 1e41964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ commands =
python -m tests.check_gpg_available
python -c 'import os; os.environ["PYKCS11LIB"]' # assert HSM tests aren't skipped
coverage run tests/aggregate_tests.py
coverage report -m --fail-under 95
coverage report -m --fail-under 90

[testenv:purepy311]
deps =
Expand Down

0 comments on commit 1e41964

Please sign in to comment.