-
Notifications
You must be signed in to change notification settings - Fork 217
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
test-coverage.yaml should fail on error #947
Comments
Well, you modified our example, and actually ended up with a broken step, so I am not sure where to go from here. I am also not sure behind the intent of
which I would think is the same as
but maybe I am missing something. We have
in the example workflow, because in a pull request there might not be a token in open source projects, so if we don't do this, then all such PRs will fail. In any case, the workflows in the |
Hey, sorry if this came across wrong. I was sure I hadn't edited the workflow, so I didn't check it where I might have noticed the I looked back at the blame, and I must have taken the example at this point in history: 76c974b. I'll update our workflow with the current content. I guess, as with this issue: codecov/codecov-action#1348, I'd expect it to fail by default and was surprised that it hadn't. When posting an issue, the templates only allow Bug / Feature Request / Security Vulnerability, and choosing the 'Bug' template will automatically tag it as a bug. |
It fails by default, except in PRs without a token.
Ah, right, makes sense, I'll update the template. |
debendabot recommended updating the codecov action from 4 to 5 in our test-coverage.yaml. In the release notes, there are some breaking changes that will affect the current r-lib example:
file:
becomesfiles:
andplugin:
becomesplugins:
I was surprised to see the workflow had passed on the PR though... Looking at the job details - https://github.com/Public-Health-Scotland/phsopendata/actions/runs/11883091545/job/33109379336 we can see that the action reported a warning and an error but the overall workflow still reported passing for some reason.I'm not sure if this is something you can update or if it's part of the codecov action itself.
The text was updated successfully, but these errors were encountered: