-
Notifications
You must be signed in to change notification settings - Fork 769
[CI] Don't skip E2E tests if only check-* steps in build fail #9912
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
[CI] Don't skip E2E tests if only check-* steps in build fail #9912
Conversation
We already have proper check on the `e2e-tests` job, but it depends on the `aws-start` task and that didn't have the check. That resulted in the `aws-start` being skipped whenever any of `check-*` steps failed and resulted in E2E tests not running even though we can easily run them to get better coverage. This should make our post-commit CI more useful in presence of failures on `check-*` targets during the build stage.
@@ -182,7 +182,7 @@ jobs: | |||
aws-start: | |||
name: Start AWS | |||
needs: build | |||
if: ${{ inputs.lts_aws_matrix != '[]' }} | |||
if: ${{ always() && needs.build.result == 'success' && inputs.lts_aws_matrix != '[]' }} |
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.
"That resulted in the aws-start being skipped"
Will this change run only aws-start
or E2E tests for all backends?
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.
My intention is for the latter. Need to wait for the testing to finish to verify. Note that e2e-tests
already has the same if:
guard at line 208.
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.
Note that we skip aws in post-commit because lts_aws_matrix
is empty there (we only do testing on Intel HW in post-commit).
@intel/dpcpp-devops-reviewers , ping. |
@steffenlarsen , @cperkinsintel , ping. |
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.
Great! 🚀
Same as was done in #9912 for Linux.
We already have proper check on the
e2e-tests
job, but it depends on theaws-start
task and that didn't have the check. That resulted in theaws-start
being skipped whenever any ofcheck-*
steps failed and resulted in E2E tests not running even though we can easily run them to get better coverage.This should make our post-commit CI more useful in presence of failures on
check-*
targets during the build stage.