-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve coverage reporting #348
Conversation
74feee3
to
f567e56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one question about intent in the tox.ini change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This version looks good. @shubhbapna had some comments, so I'll leave it open for him to approve and merge.
- Add `cov.pth` file and `COVERAGE_PROCESS_START` to track coverage of subprocesses and e2e tests - e2e tests set `COVERAGE_PROCESS_START` and run `command_pre` hooks - Configure mapping of file paths for coverage - Add step to combine coverage results in GHA - Use plain `coverage` instead of `pytest-cov`. The pytest plugin interfers with parallel coverage collection. - Fix `test_dependencies` to actually run tests Signed-off-by: Christian Heimes <cheimes@redhat.com>
cov.pth
file andCOVERAGE_PROCESS_START
to track coverage ofsubprocesses and e2e tests
COVERAGE_PROCESS_START
and runcommand_pre
hookscoverage
instead ofpytest-cov
. The pytest plugininterfers with parallel coverage collection.
test_dependencies
to actually run tests