The coverage stats for pull request and the main branch are different. It looks like the main branch is not using the correct coverage configuration file and probably using an out-dated configuration. For example, elasticdl/python/tests folder has been ignored as specified in the configuration. However, this folder is only ignored in pull request branch but not the main branch. The coverage stat for the pull request branch is correct but not the main branch.
Repository
Steps to Reproduce
Create a pull request
Once the build passes, take a look at the coverage for this pull request branch and you’ll notice that elasticdl/python/tests folder does not appear in the report
Then compare with the coverage report for the main branch once it’s merged, elasticdl/python/tests folder still appears.
Expected behavior: The coverage stats should be the same and elasticdl/python/tests folder should be ignored for both branches.
Actual behavior: The coverage stats are not the same and elasticdl/python/tests folder is not ignored for the main branch.
Flakiness? All the time.
Versions
Please include the browser and OS and what versions you’re running.
I don’t see anywhere I can delete the cache but I just validated it and it seems successful (see below for the log). Could you help clearing it out? Thanks.
I believe that’s automatically inferred by codecov? Please check our codecov.yaml file which does not contain that NOT operator and it should be the source of truth instead.
We are running pytest elasticdl/python/tests --cov=elasticdl/python --cov-report=xml
The --cov argument might be related and note that the tests folder elasticdl/python/tests is under the same directory elasticdl/python. Hope this helps debugging.
@jerrod If you guys are not interested, just remove ignore from the manual and announce to everyone we should all switch to another service.
Ahh, great company… Above bugreport is now hidden, because “community flags”, although this community has no flagging. So they manually hid the thread. Great sign, NOT.
Hey Ornias, this definitely makes me sad. We work every day to serve the open source community at large and didn’t do a good enough job. Thanks for bringing this to our attention.
The ignore tool does work at a certain level, but getting it to a working state for a user to work was not well documented.
We’ve made and are making the following changes:
About the Codecov YAML → specified that YAML file must code in the root of the project (thank you for helping us locate this)
We are adding better logging on from where the YAML file is being called in our logs, so that if the incorrect YAML file gets called we will better to be able a.) identify it and b.) surface that information back to the users.
Appreciate you sticking with us as we continue to improve!
Also, just confirming here, as with Twitter, that your original posts were flagged unexpectedly: