Skip to content
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

Ignore result of runs with nightly builds in CI job status #263

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

matt-graham
Copy link
Member

This replicates the approach in JuliaTime/TimeZones.jl#418 also discussed in actions/runner#2347 and https://github.com/orgs/community/discussions/15452, for trying to have failures of the CI runs on Julia nightly version not cause the overall workflow status to be a failure. I think that this would mean the workflow status (and so status badge, tick / cross indicator in commit history) would remain green on nightly failures while still showing the failures in the individual job statuses, though I'm not totally sure on this so partly opening up this PR to test. Ideally we would have some alternative visual indicator for the overall workflow status to highlight some optional jobs failing, but given the above linked discussions suggest this has been a long requested GitHub Actions feature with no movement as of yet, I would say having the workflow statuses indicating passing even when nightly builds are failing is overall preferable to having them always showing as failing in this case.

@matt-graham
Copy link
Member Author

Looks like this doesn't make any difference to the status indicator on the PR but the status badge does appear to be showing as passing:

![Build Status](https://github.com/Team-RADDISH/ParticleDA.jl/actions/workflows/ci.yml/badge.svg?branch=mmg/continue-on-error-nightly)

Build Status

Copy link
Member

@giordano giordano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also appears green in the actions page. I still think the old UI of Travis was nicer, but I guess we have to do with what we have now. Thanks for this!

@matt-graham matt-graham merged commit 1618055 into master Mar 13, 2024
7 of 9 checks passed
@matt-graham matt-graham deleted the mmg/continue-on-error-nightly branch March 13, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants