-
Notifications
You must be signed in to change notification settings - Fork 15
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
Codecov is not uploading/commenting with coverage report #191
Comments
I had this issue - it's because the |
Interesting catch @cmd08, thanks. The messaging in my Codecov repo settings is a bit misleading, then:
It looks like they built a custom action for uploading coverage, which might be an option too. I'll try this out first and see if it resolves the issue - thank you! |
I have confirmed following the instructions from the GitHub Actions docs here has resolved the issue. I just had my |
Add codecov env variable to Github Actions
Looks like that did the trick, thanks a bunch @cmd08 _____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
v3.8.2
==> Detecting CI Provider
GitHub Actions CI Detected
==> Configuration:
Endpoint: https://codecov.io
{ commit: '969d3dc0984ac6fd5e1b08060260b100cb500fc1',
branch: 'main',
package: 'node-v3.8.2' }
==> Building file structure
==> Scanning for reports
+ D:\a\AndcultureCode.Cli\AndcultureCode.Cli\coverage\lcov.info
+ D:\a\AndcultureCode.Cli\AndcultureCode.Cli\coverage\clover.xml
==> Uploading reports
Success!
View report at: https://codecov.io/github/AndcultureCode/AndcultureCode.Cli/commit/969d3dc0984ac6fd5e1b08060260b100cb500fc1 |
Spoke too soon. It seemed to work on a merge commit, but not this recent build: https://github.com/AndcultureCode/AndcultureCode.Cli/pull/196/checks?check_run_id=2538997923 or the build that ran after I updated this pull request https://github.com/AndcultureCode/AndcultureCode.Cli/pull/190/checks?check_run_id=2529650526 May need to look into using the official Codecov Github Action |
Remove node version of codecov in favor of Github Action
Looks like codecov has not been consistently uploading coverage reports since we ported over to Github Actions. Sifted through a couple of the recent PRs and I believe this is the only one that commented w/ the coverage report after the CI refactor: #167
Looks like others started reporting a similar error as of recently:
codecov/codecov-node#284
Output from a recent build:
The text was updated successfully, but these errors were encountered: