-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
No more test results in the pull request since 2.9.0 #508
Comments
I think the issue here is that workflow on:
workflow_run:
workflows: [Validate]
types:
- completed
branches:
- '3.x' Your on:
push:
branches:
- 3.x
pull_request:
branches:
- 3.x But I recommend you remove branches:
- '3.x' from the |
For instance, pull request #1872 from mghpcsim:3.x targeting 3.x triggered the Any PR with a branch other than |
Thanks. That makes sense and of course was the problem. The goal from the line was to only run the analysis if the pull request was opened against the 3.x branch and not if the remote branch is named 3.x. If I remember it correctly the way publish-unit-test-results works for pull request from forked projects was that we need a job on the default branch that triggers when all tests have finished and the results have been uploaded. We are running CI also on non default branches and did not want to have failures in the "Actions" tab because a PR against the non default branch was running. Anyway, we are good. Thanks for taking a look at this. |
For our project we are using this GitHub Action (thanks a lot), but since 2.9.0 we no longer see the results posted in the corresponding pull request.
This was the last PR with 2.8.0 openhpc/ohpc#1848 and since then it switched to 2.9.0 and the pull request no longer contains the test information. (Actions log https://github.com/openhpc/ohpc/actions/runs/5646947939)
PR with 2.9.0 openhpc/ohpc#1860 (Actions log https://github.com/openhpc/ohpc/actions/runs/5890275118)
We are using following setup: https://github.com/openhpc/ohpc/blob/3.x/.github/workflows/test-analysis.yml
I am not sure if this a user error or if something changed. It seems to be related to 2.9.0.
Any suggestions what we might be doing wrong? Thanks.
The text was updated successfully, but these errors were encountered: