From 916cf9bda80410f6a6e87726f861898a82aaa73f Mon Sep 17 00:00:00 2001 From: Jo Zzsi Date: Sat, 19 Oct 2024 20:37:03 -0400 Subject: [PATCH] ci: only run other jobs after basic tests passed --- .github/workflows/integration.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 026beb1c8..b9732dfe9 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -47,6 +47,7 @@ jobs: - name: "${{ matrix.container }} TEST-${{ matrix.test }}" run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} extended: + needs: basic name: ${{ matrix.test }} on ${{ matrix.container }} runs-on: ubuntu-latest timeout-minutes: 30 @@ -92,6 +93,7 @@ jobs: - name: "${{ matrix.container }} TEST-${{ matrix.test }}" run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} dracut-cpio: + needs: basic name: ${{ matrix.test }} on ${{ matrix.container }} runs-on: ubuntu-latest timeout-minutes: 30 @@ -116,6 +118,7 @@ jobs: - name: "${{ matrix.container }} TEST-${{ matrix.test }}" run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} arm64: + needs: basic name: ${{ matrix.test }} on ${{ matrix.container }} on arm64 runs-on: ubuntu-latest timeout-minutes: 30 @@ -142,6 +145,7 @@ jobs: - name: "${{ matrix.container }} TEST-${{ matrix.test }}" run: docker run --platform linux/arm64 '--device=/dev/kvm' -v $PWD:/w ghcr.io/dracut-ng/${{ matrix.container }} /w/test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} network: + needs: basic # all nfs based on default networking name: ${{ matrix.test }} on ${{ matrix.container }} runs-on: ubuntu-latest