Skip to content

Commit

Permalink
don't run test-suite on skip-ci label
Browse files Browse the repository at this point in the history
  • Loading branch information
antondlr committed May 15, 2024
1 parent 6f45ad4 commit 34d5e94
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
run: test ${{ github.base_ref }} != "stable"
release-tests-ubuntu:
name: release-tests-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
# Use self-hosted runners only on the sigp repo.
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
steps:
Expand All @@ -63,6 +64,7 @@ jobs:
run: sccache --show-stats
release-tests-windows:
name: release-tests-windows
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "windows", "CI"]') || 'windows-2019' }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -97,6 +99,7 @@ jobs:
run: sccache --show-stats
beacon-chain-tests:
name: beacon-chain-tests
if: !${{ github.event.label.name == 'skip-ci' }}
# Use self-hosted runners only on the sigp repo.
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
env:
Expand All @@ -117,6 +120,7 @@ jobs:
run: sccache --show-stats
op-pool-tests:
name: op-pool-tests
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -132,6 +136,7 @@ jobs:
run: make test-op-pool
network-tests:
name: network-tests
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -147,6 +152,7 @@ jobs:
run: make test-network
slasher-tests:
name: slasher-tests
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -162,6 +168,7 @@ jobs:
run: make test-slasher
debug-tests-ubuntu:
name: debug-tests-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
# Use self-hosted runners only on the sigp repo.
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
env:
Expand All @@ -186,6 +193,7 @@ jobs:
run: sccache --show-stats
state-transition-vectors-ubuntu:
name: state-transition-vectors-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -198,6 +206,7 @@ jobs:
run: make run-state-transition-tests
ef-tests-ubuntu:
name: ef-tests-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
# Use self-hosted runners only on the sigp repo.
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
env:
Expand All @@ -218,6 +227,7 @@ jobs:
run: sccache --show-stats
dockerfile-ubuntu:
name: dockerfile-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -227,6 +237,7 @@ jobs:
run: docker run -t lighthouse:local lighthouse --version
basic-simulator-ubuntu:
name: basic-simulator-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -239,6 +250,7 @@ jobs:
run: cargo run --release --bin simulator basic-sim
fallback-simulator-ubuntu:
name: fallback-simulator-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -251,6 +263,7 @@ jobs:
run: cargo run --release --bin simulator fallback-sim
doppelganger-protection-test:
name: doppelganger-protection-test
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
env:
# Enable portable to prevent issues with caching `blst` for the wrong CPU type
Expand Down Expand Up @@ -285,6 +298,7 @@ jobs:
./doppelganger_protection.sh success genesis.json
execution-engine-integration-ubuntu:
name: execution-engine-integration-ubuntu
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -344,6 +358,7 @@ jobs:
run: cargo check --workspace
cargo-udeps:
name: cargo-udeps
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -366,6 +381,7 @@ jobs:
RUSTFLAGS: ""
compile-with-beta-compiler:
name: compile-with-beta-compiler
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -377,6 +393,7 @@ jobs:
run: make
cli-check:
name: cli-check
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -391,6 +408,7 @@ jobs:
# a PR is safe to merge. New jobs should be added here.
test-suite-success:
name: test-suite-success
if: !${{ github.event.label.name == 'skip-ci' }}
runs-on: ubuntu-latest
needs: [
'target-branch-check',
Expand Down

0 comments on commit 34d5e94

Please sign in to comment.