Skip to content

Commit ec78297

Browse files
authored
Run linter, unit tests, and integration workflows in parallel. (#410)
1 parent c7b4958 commit ec78297

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_tests.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -122,24 +122,24 @@ jobs:
122122
with:
123123
run-id: '${{needs.set-variables.outputs.run-id}}'
124124
run-unit-tests:
125+
needs: [install-dependencies, set-variables]
125126
uses: ./.github/workflows/unit_tests.yaml
126127
with:
127128
run-id: ${{needs.set-variables.outputs.run-id}}
128129
concurrency: # We support one build or nightly test to run at a time currently.
129130
group: unit-tests-${{needs.set-variables.outputs.run-id}}
130131
cancel-in-progress: true
131-
needs: [linter, set-variables]
132132
run-integration-tests:
133+
needs: [install-dependencies, set-variables]
133134
uses: ./.github/workflows/integration_tests.yaml
134135
with:
135136
run-id: '${{needs.set-variables.outputs.run-id}}'
136137
concurrency: # We support one build or nightly test to run at a time currently.
137138
group: integration-tests-${{needs.set-variables.outputs.run-id}}
138139
cancel-in-progress: true
139140
secrets: inherit
140-
needs: [run-unit-tests, set-variables]
141141
cluster-private:
142-
needs: [run-integration-tests, set-variables]
142+
needs: [linter, run-unit-tests, run-integration-tests, set-variables]
143143
uses: ./.github/workflows/cluster_private.yaml
144144
concurrency: # We support one build or nightly test to run at a time currently.
145145
group: cluster-private-${{needs.set-variables.outputs.run-id}}
@@ -152,7 +152,7 @@ jobs:
152152
location: '${{needs.set-variables.outputs.location}}'
153153
secrets: inherit
154154
cluster-create:
155-
needs: [run-integration-tests, set-variables]
155+
needs: [linter, run-unit-tests, run-integration-tests, set-variables]
156156
concurrency: # We support one build or nightly test to run at a time currently.
157157
group: cluster-create-${{needs.set-variables.outputs.run-id}}
158158
cancel-in-progress: true

0 commit comments

Comments
 (0)