You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which produces the report in .coverage file. Before we used Travis and we just uploaded the report with codecov command. With codecov-action I added the following section to one of the workflows:
I think that the format of the report file is wrong since in the documentation there is the report in XML format, but I also cannot find how to produce the report in the correct format with coverage package.
@PrimozGodec it looks like you are uploading a sqlite file instead of a coverage file as you mentioned above.
We have an example here. You might not need coverage combine and coverage report, as Codecov handles combining the coverage reports. You might then also not need to specify the file
Thank you for the response. The example shows how to upload coverage whit Travis and codecov package. It is how we used to upload reports before. Since we are moving to GH Actions and codecov does not upload without token on GH Actions. We now try to use codecov-action.
Is there any example of how to use codecov-action in combination with coverage package? Which file is the report I which I need to upload?
Activity
thomasrockhu commentedon Aug 18, 2020
@PrimozGodec it looks like you are uploading a sqlite file instead of a
coveragefile as you mentioned above.We have an example here. You might not need
coverage combineandcoverage report, as Codecov handles combining the coverage reports. You might then also not need to specify thefilePrimozGodec commentedon Aug 19, 2020
Thank you for the response. The example shows how to upload coverage whit Travis and
codecovpackage. It is how we used to upload reports before. Since we are moving to GH Actions andcodecovdoes not upload without token on GH Actions. We now try to use codecov-action.Is there any example of how to use codecov-action in combination with
coveragepackage? Which file is the report I which I need to upload?thomasrockhu commentedon Aug 19, 2020
@PrimozGodec fair enough. I'll update the python
codecovpackage to support GH Actions.thomasrockhu commentedon Aug 20, 2020
@PrimozGodec codecov/codecov-python#289
PrimozGodec commentedon Aug 20, 2020
Thank for the update. 👍
thomasrockhu commentedon Aug 25, 2020
Closing this as
codecov-pythonhas been updatedPrimozGodec commentedon Aug 25, 2020
Thank you. I can confirm it works. :)