-
Notifications
You must be signed in to change notification settings - Fork 59
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
Report shows failure of previous build #21
Comments
I noticed that you are not running the report if there is no failure: https://github.com/micronaut-projects/micronaut-core/blob/6e2f1d1b180ed56b31590e609503468c3e7c2490/.github/workflows/gradle.yml#L43. Maybe that's the case. Otherwise it would overwrite previous report with success. |
@jmisur Do you generally suggest to use |
What I suggest is to decouple the test reporting from build process. So even if the build fails for any reason, you want to see the test reports (if any) anyway. So we prefer to set |
@jmisur Thanks for your answer. The key question I'm having whether the action must run always to have a consistent report for each run/build? |
It's preferable. Otherwise you don't know if the report matches the build. But of course rerun of the same commit shouldn't change anything (unless you have flaky tests). |
#81 should also help here |
https://github.com/micronaut-projects/micronaut-core/runs/1118820767?check_suite_focus=true
This build failed once, then was re-executed and the test report shows the old failure. All builds passed and the test-report task was skipped in all cases.
The text was updated successfully, but these errors were encountered: