ci: fix coverage badge wf and omit test files from unit test coverage#783
Conversation
Ygnas
left a comment
There was a problem hiding this comment.
Verified works as expected.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: varshaprasad96, Ygnas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
thanks @Bobbins228 , this is somehting I have noticed while trying to push my PR; and it was biasing the coverage results. |
|
A .coveragerc file could be good! Would help rather than having to make sure 2 workflows and documentation are kept updated. I will look into this thanks Akram 👍 |

Issue link
What changes have been made
Verification steps
Run
coverage run --omit="src/**/test_*.py,src/codeflare_sdk/common/utils/unit_test_support.py" -m pytestand verify the unit test files are not included when you runcoverage reportChecks