From: Jo Zzsi Date: Fri, 15 Aug 2025 16:42:27 +0000 (-0400) Subject: ci: introduce networking tests into Daily integration tests X-Git-Tag: 109~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c65492aaf14c2fe9cd0c29287c0bb6be07f4f241;p=thirdparty%2Fdracut-ng.git ci: introduce networking tests into Daily integration tests The newly introduced NETWORK test case is simple enough to run on all available dracut network modules. Let's use Debian and Arch only for now to keep the test matrix small. --- diff --git a/.github/workflows/integration-extra.yml b/.github/workflows/integration-extra.yml index 19c0e0349..6f94bf208 100644 --- a/.github/workflows/integration-extra.yml +++ b/.github/workflows/integration-extra.yml @@ -72,3 +72,31 @@ jobs: uses: actions/checkout@v4 - name: "${{ matrix.container }} TEST-${{ matrix.test }}" run: ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} + network: + name: ${{ matrix.test }} on ${{ matrix.container }} ${{ matrix.network }} networking + runs-on: ubuntu-24.04 + timeout-minutes: 20 + concurrency: + group: network-${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}-${{ matrix.network }} + cancel-in-progress: true + strategy: + fail-fast: false + matrix: + network: + - "" + - network-manager + - systemd-networkd + - network-legacy + container: + - arch:latest + - debian:latest + test: + - "50" + container: + image: ghcr.io/dracut-ng/${{ matrix.container }}-amd + options: '--device=/dev/kvm' + steps: + - name: "Checkout Repository" + uses: actions/checkout@v4 + - name: "${{ matrix.container }} TEST-${{ matrix.test }}" + run: USE_NETWORK=${{ matrix.network }} ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}