-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
Separate pytest
workflow into separate workflows for tests and coverage
#10542
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
Conversation
No matter what I do to omit these two files,
|
|
Separate existing pytest workflow into a workflow for running tests and a workflow for calculating test coverage
…eports q_fourier_transform.py and validate_solutions.py are already left out of testing, so they should be left out of coverage reports as well in order to not cause errors
Change [tool.coverage.report] to [tool.coverage.run]. The former omits files from only reporting, while the latter omits files from both measuring and reporting.
Co-authored-by: Christian Clauss <[email protected]>
31c3660
to
4eb8cd8
Compare
I've been experimenting with |
I was thinking that the coverage report could be piped into a file and then cat filename.txt could happen in a separate GHA step. |
Describe your change:
Following up from #10469, I've separated the pytest tests and coverage into two separate workflows. The goal is to cut down on the unneeded clutter in the logs and make it easier for contributors (and ourselves) to read.
Checklist: