-
Notifications
You must be signed in to change notification settings - Fork 208
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
Use Codecov-related env variables from orga context #5750
Conversation
Martchus
commented
Jul 8, 2024
- Make configured token available by specifying context
- See https://progress.opensuse.org/issues/163187
This unfortunately didn't work. As mentioned in https://progress.opensuse.org/issues/163187#note-8 I'm really wondering how OBS does it. |
f38deba
to
f9339de
Compare
It seems like the report cannot be generated in the first place when running only a reduced number of tests. So I'll have to run the full test suite again to see whether it now works after adding security groups on CircleCI. |
343d635
to
e92f14b
Compare
My tests revealed that the This means the culprit is the environment variable passing of CircleCI. I haven't found anything useful about it on the forums. So maybe I'll ask there myself considering we definitely followed the documentation. |
* Read `CODECOV_TOKEN` from the organization context so we don't have to specify it on the project level * See https://progress.opensuse.org/issues/163187
Looks like all I had to do was enabling the setting "Pass secrets to builds from forked pull requests", see #5751. I tested that on this PR which showed the correct checksum. We may still merge the initial change of this PR. I removed the additional commits again and reworded the first commit as "Use Codecov-related env variables from orga context". |