Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ xfail_strict = true
addopts =
--verbose
--ignore=build/private
--cov hyperpod_cli
--cov sagemaker.hyperpod
--cov-config setup.cfg
--cov-report term-missing
--cov-report html:build/hyperpod-documentation/coverage
Expand All @@ -59,8 +59,8 @@ addopts =
--durations=5
# Default to colorful output
--color=yes
# Uncomment to enforce a minimum code coverage threshold.
# --cov-fail-under 50
# Enforce a minimum code coverage threshold
--cov-fail-under 50
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why threshold is just 50 ? whats the current coverage for integ tests ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned in slack channel, but for visibility for reviewers, current coverage is 55%. If we remove files that are not important to test with integ tests (static data definitions, basic utils, etc.) the new code coverage is estimated at 67%. We can raise threshold as more tests are added, but raising it much higher than 50% will become a blocker for PRs

testpaths = test
looponfailroots = src test

Expand Down
Loading