Skip to content

Commit

Permalink
ci: only run other jobs after basic tests passed
Browse files Browse the repository at this point in the history
  • Loading branch information
jozzsi authored and LaszloGombos committed Oct 20, 2024
1 parent 2f5731c commit 916cf9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 916cf9b

Please sign in to comment.