Separate pytest workflow into separate workflows for tests and coverage#10542
Separate pytest workflow into separate workflows for tests and coverage#10542tianyizheng02 wants to merge 13 commits intomasterfrom
pytest workflow into separate workflows for tests and coverage#10542Conversation
|
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 <cclauss@me.com>
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: