-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix: CodeCov's omitted files show up in report #43
Conversation
Hopefully fixes #43 |
The following files should be omitted as defined in Lines 5 to 9 in cf404b6
But the following files show up in the CodeCov report: Observations:
|
Try this suggestion by @j-wags (add |
Dropping this here - CI uses
|
Compared this repo to another repo where the same There we use:
Try that out. |
The
I am confused. |
@jaimergp could you please take a look at this PR - do you have any more pointers for me? |
Can you try using your codecov.yml file instead? https://docs.codecov.io/docs/ignoring-paths |
A bit embarressed to admit but I only just now understood that I am dealing with a truly two-step procedure here:
That tells me finding the problem should not start with step 2 (CodeCov) but step 1. So I ran locally and figured out that I have to adjust kissim/.github/workflows/CI.yaml Lines 54 to 58 in 91923ac
so that the coverage looks correct locally (no
Next is step 2 - does CodeCov show the same? Waiting for the CI. |
CodeCov for last commit:
Differences from local coverage:
|
Merging this PR, since problem resolved. Attend to coverage improvements elsewhere. |
Description
CodeCov's omitted files partially show (e.g. files in
kissim/tests
andkissim._version.py
). Find out why and exclude them.Todos
kissim/tests/conftest.py
). > no success--cov-config=setup.cfg
topytest
command in.github/workflows/CI.yaml
> no success; leave it in anywayspytest
to version5.*
> no success*/_version.py
(asterisk!) instead ofkissim/_version.py
in.github/workflows/CI.yaml
> successful, no clue why this was an issue here but not in other repos. No clue.Questions
Todos are in this case my questions :)
Status