-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ci: output annotations for failures #3727
Conversation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
.github/workflows/.test.yml
Outdated
uses: actions/github-script@v6 | ||
name: Generate annotations | ||
if: always() | ||
uses: crazy-max/.github/.github/actions/gotest-annotations@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a remote composite action to reduce dedup. Will use a commit sha if we are ok with this implementation.
See https://github.com/crazy-max/.github#gotest-annotations
Atm it's not easy to go through the logs and quickly find what tests are currently failing. With this change we'll have GitHub annotations for failed tests directly reported in the pull request. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
55af34f
to
65540db
Compare
Hum there's smth odd going on. https://github.com/moby/buildkit/actions/runs/4466712165/jobs/7845304694#step:7:1455 fails and annotation is generated but GitHub checks is green 🤔. Will look at this. Edit: That's fine, we continue-on-error for nydus integration tests: buildkit/.github/workflows/.test.yml Line 144 in 170e440
|
follow-up #2900 and #3411
Atm it's not easy to go through the logs and quickly find what tests are currently failing.
With this change we'll have GitHub annotations for failed tests directly reported in "Files changed" for a pull request.
Tested here: https://github.com/crazy-max/buildkit/pull/12/files