Skip to content

Commit 1360d92

Browse files
committed
add prereq
1 parent f35caaa commit 1360d92

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test-suite.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
run: test ${{ github.base_ref }} != "stable"
6464
release-tests-ubuntu:
6565
name: release-tests-ubuntu
66+
needs: [check-labels]
6667
if: needs.check-labels.outputs.skip_ci != 'true'
6768
# Use self-hosted runners only on the sigp repo.
6869
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
@@ -89,6 +90,7 @@ jobs:
8990
run: sccache --show-stats
9091
release-tests-windows:
9192
name: release-tests-windows
93+
needs: [check-labels]
9294
if: needs.check-labels.outputs.skip_ci != 'true'
9395
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "windows", "CI"]') || 'windows-2019' }}
9496
steps:
@@ -124,6 +126,7 @@ jobs:
124126
run: sccache --show-stats
125127
beacon-chain-tests:
126128
name: beacon-chain-tests
129+
needs: [check-labels]
127130
if: needs.check-labels.outputs.skip_ci != 'true'
128131
# Use self-hosted runners only on the sigp repo.
129132
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
@@ -145,6 +148,7 @@ jobs:
145148
run: sccache --show-stats
146149
op-pool-tests:
147150
name: op-pool-tests
151+
needs: [check-labels]
148152
if: needs.check-labels.outputs.skip_ci != 'true'
149153
runs-on: ubuntu-latest
150154
env:
@@ -161,6 +165,7 @@ jobs:
161165
run: make test-op-pool
162166
network-tests:
163167
name: network-tests
168+
needs: [check-labels]
164169
if: needs.check-labels.outputs.skip_ci != 'true'
165170
runs-on: ubuntu-latest
166171
env:
@@ -177,6 +182,7 @@ jobs:
177182
run: make test-network
178183
slasher-tests:
179184
name: slasher-tests
185+
needs: [check-labels]
180186
if: needs.check-labels.outputs.skip_ci != 'true'
181187
runs-on: ubuntu-latest
182188
env:
@@ -193,6 +199,7 @@ jobs:
193199
run: make test-slasher
194200
debug-tests-ubuntu:
195201
name: debug-tests-ubuntu
202+
needs: [check-labels]
196203
if: needs.check-labels.outputs.skip_ci != 'true'
197204
# Use self-hosted runners only on the sigp repo.
198205
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
@@ -218,6 +225,7 @@ jobs:
218225
run: sccache --show-stats
219226
state-transition-vectors-ubuntu:
220227
name: state-transition-vectors-ubuntu
228+
needs: [check-labels]
221229
if: needs.check-labels.outputs.skip_ci != 'true'
222230
runs-on: ubuntu-latest
223231
steps:
@@ -231,6 +239,7 @@ jobs:
231239
run: make run-state-transition-tests
232240
ef-tests-ubuntu:
233241
name: ef-tests-ubuntu
242+
needs: [check-labels]
234243
if: needs.check-labels.outputs.skip_ci != 'true'
235244
# Use self-hosted runners only on the sigp repo.
236245
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
@@ -252,6 +261,7 @@ jobs:
252261
run: sccache --show-stats
253262
dockerfile-ubuntu:
254263
name: dockerfile-ubuntu
264+
needs: [check-labels]
255265
if: needs.check-labels.outputs.skip_ci != 'true'
256266
runs-on: ubuntu-latest
257267
steps:
@@ -262,6 +272,7 @@ jobs:
262272
run: docker run -t lighthouse:local lighthouse --version
263273
basic-simulator-ubuntu:
264274
name: basic-simulator-ubuntu
275+
needs: [check-labels]
265276
if: needs.check-labels.outputs.skip_ci != 'true'
266277
runs-on: ubuntu-latest
267278
steps:
@@ -275,6 +286,7 @@ jobs:
275286
run: cargo run --release --bin simulator basic-sim
276287
fallback-simulator-ubuntu:
277288
name: fallback-simulator-ubuntu
289+
needs: [check-labels]
278290
if: needs.check-labels.outputs.skip_ci != 'true'
279291
runs-on: ubuntu-latest
280292
steps:
@@ -288,6 +300,7 @@ jobs:
288300
run: cargo run --release --bin simulator fallback-sim
289301
doppelganger-protection-test:
290302
name: doppelganger-protection-test
303+
needs: [check-labels]
291304
if: needs.check-labels.outputs.skip_ci != 'true'
292305
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
293306
env:
@@ -323,6 +336,7 @@ jobs:
323336
./doppelganger_protection.sh success genesis.json
324337
execution-engine-integration-ubuntu:
325338
name: execution-engine-integration-ubuntu
339+
needs: [check-labels]
326340
if: needs.check-labels.outputs.skip_ci != 'true'
327341
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
328342
steps:
@@ -383,6 +397,7 @@ jobs:
383397
run: cargo check --workspace
384398
cargo-udeps:
385399
name: cargo-udeps
400+
needs: [check-labels]
386401
if: needs.check-labels.outputs.skip_ci != 'true'
387402
runs-on: ubuntu-latest
388403
steps:
@@ -406,6 +421,7 @@ jobs:
406421
RUSTFLAGS: ""
407422
compile-with-beta-compiler:
408423
name: compile-with-beta-compiler
424+
needs: [check-labels]
409425
if: needs.check-labels.outputs.skip_ci != 'true'
410426
runs-on: ubuntu-latest
411427
steps:
@@ -418,6 +434,7 @@ jobs:
418434
run: make
419435
cli-check:
420436
name: cli-check
437+
needs: [check-labels]
421438
if: needs.check-labels.outputs.skip_ci != 'true'
422439
runs-on: ubuntu-latest
423440
steps:
@@ -433,6 +450,7 @@ jobs:
433450
# a PR is safe to merge. New jobs should be added here.
434451
test-suite-success:
435452
name: test-suite-success
453+
needs: [check-labels]
436454
if: needs.check-labels.outputs.skip_ci != 'true'
437455
runs-on: ubuntu-latest
438456
needs: [

0 commit comments

Comments
 (0)