-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Remove fail-fast
matrix strategy from GitHub Actions
#5421
Conversation
Currently, every GitHub Actions workflow contains the `fail-fast` matrix strategy. However, none of these workflows are actually utilizing a matrix. Further, the on demand workflow has an improper indentation of this strategy block that causes a syntactical error. This change remove the no-op strategy altogether to fix the broken on demand workflow and remove the IDE warnings regarding the missing matrix declaration.
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.
@clayburn
Thank you for your contribution.
I have tested workflows fails on any error here.
#5419 (comment)
And we are utilizing the fail-fast against the job strategy.
https://docs.github.com/ko/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast
What does it mean that none of these workflows are actually utilizing a matrix.?
@@ -65,8 +65,6 @@ jobs: | |||
openwhisk: | |||
runs-on: ubuntu-22.04 | |||
continue-on-error: false | |||
strategy: |
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.
I was trying to fix this in this PR: https://github.com/apache/openwhisk/pull/5420/files
Codecov Report
@@ Coverage Diff @@
## master #5421 +/- ##
==========================================
- Coverage 76.84% 76.37% -0.48%
==========================================
Files 241 241
Lines 14630 14630
Branches 616 616
==========================================
- Hits 11243 11173 -70
- Misses 3387 3457 +70 see 16 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
From the linked documentation on
This
In this case, if say I also get this warning in my IDE, although I do not know where to locate the schema it is using for this validation: |
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.
LGTM
Currently, every GitHub Actions workflow contains the `fail-fast` matrix strategy. However, none of these workflows are actually utilizing a matrix. Further, the on demand workflow has an improper indentation of this strategy block that causes a syntactical error. This change remove the no-op strategy altogether to fix the broken on demand workflow and remove the IDE warnings regarding the missing matrix declaration. (cherry picked from commit f73ec7f)
Description
Currently, every GitHub Actions workflow contains the
fail-fast
matrix strategy. However, none of these workflows are actually utilizing a matrix. Further, the on demand workflow has an improper indentation of this strategy block that causes a syntactical error.This change remove the no-op strategy altogether to fix the broken on demand workflow and remove the IDE warnings regarding the missing matrix declaration.
Related issue and scope
My changes affect the following components
Types of changes
Checklist: