-
Notifications
You must be signed in to change notification settings - Fork 734
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
Fix ci confirm pass #7186
Fix ci confirm pass #7186
Conversation
sateeshperi
commented
Dec 10, 2024
- Update confirm-pass jobs to correctly identify failed & cancelled
- touch a gpu & cpu module to test
- name: All tests ok | ||
if: ${{ contains(needs.*.result, 'success') }} | ||
run: exit 0 |
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.
@sateeshperi This will now pass if any test passes with a success status. That's why it negated the presence of a 'failure' status before.
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.
negated the presence of which failure
status ?
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.
.* is not for any single test. It is for all members of 'needs' which has only one element here so it just stands for 'nf'test-gpu'.
Secondly, if any test fails, the fail branch will be triggered first as it is now placed above the pass branch.
I created this new confirm-pass in methylseq and we tested it quite a bit with multiple runs where tests were passing, failing, being skipped, etc.