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

Use reusable workflows to break up tests #2152

Merged
merged 30 commits into from
Oct 22, 2024
Merged

Use reusable workflows to break up tests #2152

merged 30 commits into from
Oct 22, 2024

Conversation

bdemann
Copy link
Member

@bdemann bdemann commented Oct 4, 2024

No description provided.

@bdemann bdemann changed the title try using reusable workflows Using reusable workflows Oct 8, 2024
@bdemann bdemann force-pushed the cursor-test branch 2 times, most recently from f0a5e2e to 9001e67 Compare October 8, 2024 21:28
@bdemann bdemann marked this pull request as ready for review October 9, 2024 18:26
@bdemann bdemann changed the title Using reusable workflows Use reusable workflows to break up tests Oct 9, 2024
@bdemann bdemann linked an issue Oct 9, 2024 that may be closed by this pull request
2 tasks
@bdemann bdemann added this to the 1.0 milestone Oct 9, 2024
@bdemann bdemann removed this from the 1.0 milestone Oct 9, 2024
.github/actions/set_run_conditions/action.yml Show resolved Hide resolved
.github/actions/set_run_conditions/action.yml Outdated Show resolved Hide resolved
.github/actions/set_run_conditions/action.yml Outdated Show resolved Hide resolved
.github/actions/set_run_conditions/action.yml Outdated Show resolved Hide resolved
.github/actions/set_run_conditions/action.yml Outdated Show resolved Hide resolved
.github/workflows/run_test.yml Outdated Show resolved Hide resolved
.github/workflows/run_test.yml Outdated Show resolved Hide resolved
.github/workflows/run_test.yml Show resolved Hide resolved
.github/workflows/run_test.yml Show resolved Hide resolved
.github/workflows/run_test.yml Show resolved Hide resolved
Copy link
Member

@lastmjs lastmjs left a 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

@@ -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 }}"
Copy link
Member

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--') }}
Copy link
Member

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?

.github/actions/set_run_conditions/action.yml Show resolved Hide resolved
.github/workflows/run_test.yml Show resolved Hide resolved
.github/workflows/run_test.yml Show resolved Hide resolved
@lastmjs lastmjs merged commit 812223c into main Oct 22, 2024
12 of 28 checks passed
@bdemann bdemann deleted the cursor-test branch October 28, 2024 20:51
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.

Use reusable workflows to break up tests
2 participants