-
Notifications
You must be signed in to change notification settings - Fork 38
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
Use reusable workflows to break up tests #2152
Conversation
f0a5e2e
to
9001e67
Compare
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.
Just requesting changes on the remaining comments
.github/workflows/test.yml
Outdated
@@ -70,7 +70,7 @@ jobs: | |||
') }}" | |||
|
|||
IS_MAIN_BRANCH_PUSH="${{ steps.set-conditions.outputs.is_main_branch_push }}" | |||
IS_MAIN_BRANCH_MERGE_FROM_RELEASE_PUSH="${{ steps.set-conditions.outputs.is_main_branch_merge_from_release_push }}" | |||
IS_MAIN_BRANCH_PUSH_FROM_RELEASE_MERGE="${{ steps.set-conditions.outputs.is_main_branch_push_from_release_merge }}" |
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.
Shouldn't we use this environment variable name everywhere?
@@ -23,14 +23,14 @@ runs: | |||
run: | | |||
# Define conditions using shell variables | |||
IS_MAIN_PUSH=${{ github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'demergent-labs/release--') }} | |||
IS_MAIN_MERGE_RELEASE=${{ github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'demergent-labs/release--') }} | |||
IS_MAIN_PUSH_RELEASE=${{ github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'demergent-labs/release--') }} |
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_MAIN_PUSH_RELEASE...can we rename this to IS_MAIN_BRANCH_PUSH_FROM_RELEASE_MERGE
?
No description provided.