-
Notifications
You must be signed in to change notification settings - Fork 213
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
Not seeing reports when PR is merged even though reports are generated #367
Comments
I think I might be seeing the same thing. Here's a test report that was correctly generated and uploaded that doesn't show in the main view It was working earlier and I was trying to work out what changed. Here's an older build where the report does show. I wonder if it's because I turned on the CodeQL option in github between the two runs. It seems to add a new section, and the test report now seems to end up incorrectly under the codeql section instead of the build section. And here's a newer PR run showing the test result in the right place https://github.com/timabell/schema-explorer/pull/65/checks?check_run_id=20998088207 |
Okay I think my hunch is off, I think it must be something in my workflow file. Having done some more tidying up it's now back again, and I have no idea why. Here's a newer build of |
Okay I'm even more confused, it's just done it again, and this one is exactly as the issue describes - the PR build is fine, and then the build on PR that demonstrates the behaviour: timabell/schema-explorer#65
Tracking issue on my repo: timabell/schema-explorer#64 |
I would say it's a correct behavior. The Test Result is not a job. It reports a check. I'm not sure why GitHub displays it as a Job for the PR builds. |
the action produces 2 links: |
This exact thing is happening to us here |
I think I run into the same issue.
How is the check bound to the workflow? I use a workflow named Test Report that calls the action, but it appears that the report is associated with a different workflow named, CodeQL. |
I've seen the report being associated with multiple different workflows actually (I think it's associated with whatever finished first or something like that). On the PRs is definitely a bother but not really a big problem as the check still appears on the list, although as child job of whatever other workflows. However, for cron jobs is a bit more unfortunate, as the check does not appear on the list and the way to find it is to go to the test report action ouptut and click on the HTML link there. Can anyone with a bit more knowledge about the actions interface give some pointers to look for the culprit? |
I've now seen this issue show up on a (private) project that's not even using this report uploader. Edit - think it was https://github.com/phoenix-actions/test-reporting which turns out to be a fork of this repo |
I'd like to report/follow this too. I see the test reports show under the CodeQL section rather than the workflow it was part of |
Reporting the same. Check is bouncing across other workflows, though if you're making it as a required check for PR merge and it bounced, PR would never pass those checks as there would be waiting for results status. |
+1 - Just added the action today and it is exactly what I was looking for, thank you! Same behavior, the job/Test Report is added to workflow based on commit number instead of the workflow run number. Our team's preference is for the job/Test Report to be added to the current run number, regardless of commit. |
same issue here, really annoying and seemed to appear out of nowhere 🙃 did anyone find a workaround? |
I think we are seeing this behaviour due to a limitation on the github side and not on test-reporter, there is a workaround which is to use: This will publish the reports on the summary of your run and not as separate page. and it's accurate |
@AyoubIssaad do you have some more information? Isn't the default value already Lines 78 to 83 in 1a288b6
|
This issue is basically a duplicate of #67. The |
Describe the bug
When a PR is created or commits pushed I am seeing the reports created and linked e.g.
But when the PR is merged and the tests re-run and the report created I am not seeing them
NOTE: I am new to GHA and very possible I am doing something silly
To Reproduce
File
Expected behavior
I expect that the summary results show the links like they do on PR creation or new commits
Logs
Logs look like everything went OK
I can click on the HTML page shown at the end and see the results
The text was updated successfully, but these errors were encountered: