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

Fix ci confirm pass #7186

Merged
merged 7 commits into from
Dec 10, 2024
Merged

Fix ci confirm pass #7186

merged 7 commits into from
Dec 10, 2024

Conversation

sateeshperi
Copy link
Contributor

  • Update confirm-pass jobs to correctly identify failed & cancelled
  • touch a gpu & cpu module to test

@sateeshperi sateeshperi requested a review from a team as a code owner December 10, 2024 01:04
@sateeshperi sateeshperi added this pull request to the merge queue Dec 10, 2024
@sateeshperi sateeshperi removed this pull request from the merge queue due to a manual request Dec 10, 2024
@sateeshperi sateeshperi merged commit 2edb630 into master Dec 10, 2024
30 checks passed
@sateeshperi sateeshperi deleted the fix-ci-confirm-pass branch December 10, 2024 12:03
Comment on lines +119 to +121
- name: All tests ok
if: ${{ contains(needs.*.result, 'success') }}
run: exit 0
Copy link
Contributor

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.

Copy link
Contributor Author

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 ?

Copy link
Member

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.

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.

4 participants