Skip to content

Commit

Permalink
Run linter, unit tests, and integration workflows in parallel. (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobrovskyi authored Mar 7, 2025
1 parent c7b4958 commit ec78297
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,24 +122,24 @@ jobs:
with:
run-id: '${{needs.set-variables.outputs.run-id}}'
run-unit-tests:
needs: [install-dependencies, set-variables]
uses: ./.github/workflows/unit_tests.yaml
with:
run-id: ${{needs.set-variables.outputs.run-id}}
concurrency: # We support one build or nightly test to run at a time currently.
group: unit-tests-${{needs.set-variables.outputs.run-id}}
cancel-in-progress: true
needs: [linter, set-variables]
run-integration-tests:
needs: [install-dependencies, set-variables]
uses: ./.github/workflows/integration_tests.yaml
with:
run-id: '${{needs.set-variables.outputs.run-id}}'
concurrency: # We support one build or nightly test to run at a time currently.
group: integration-tests-${{needs.set-variables.outputs.run-id}}
cancel-in-progress: true
secrets: inherit
needs: [run-unit-tests, set-variables]
cluster-private:
needs: [run-integration-tests, set-variables]
needs: [linter, run-unit-tests, run-integration-tests, set-variables]
uses: ./.github/workflows/cluster_private.yaml
concurrency: # We support one build or nightly test to run at a time currently.
group: cluster-private-${{needs.set-variables.outputs.run-id}}
Expand All @@ -152,7 +152,7 @@ jobs:
location: '${{needs.set-variables.outputs.location}}'
secrets: inherit
cluster-create:
needs: [run-integration-tests, set-variables]
needs: [linter, run-unit-tests, run-integration-tests, set-variables]
concurrency: # We support one build or nightly test to run at a time currently.
group: cluster-create-${{needs.set-variables.outputs.run-id}}
cancel-in-progress: true
Expand Down

0 comments on commit ec78297

Please sign in to comment.