-
Notifications
You must be signed in to change notification settings - Fork 9.6k
tests: reenable change-related tests in github actions #11801
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
Conversation
| @@ -0,0 +1,25 @@ | |||
| #!/bin/bash | |||
|
|
|||
| set -euo pipefail | |||
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.
seems like we've started putting some scripts in .github, preference for moving this there?
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.
yea
| @@ -0,0 +1,25 @@ | |||
| #!/bin/bash | |||
|
|
|||
| set -euo pipefail | |||
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.
yea
| exit 1 | ||
| fi | ||
|
|
||
| GITHUB_ACTIONS_COMMIT_RANGE="${BASE_SHA}..${GITHUB_SHA}" |
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.
don't you need to export?
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.
nope, that wouldn't pierce between github steps and what echo >> $GITHUB_ENV is doing, added a comment
|
|
Summary
None of our longer change-gated test suites have been running in GitHub Actions because we relied on
$TRAVIS_COMMIT_RANGE. This is actually sort of a PITA to get from GitHub Actions so created a script that exports it to an env variable.Aside: seems like there might be some overlap here with what the buildtracker git deepening script is doing?
Related Issues/PRs
ref #11767 (comment)