]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: introduce networking tests into Daily integration tests
authorJo Zzsi <jozzsicsataban@gmail.com>
Fri, 15 Aug 2025 16:42:27 +0000 (12:42 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Fri, 15 Aug 2025 23:32:29 +0000 (19:32 -0400)
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.

.github/workflows/integration-extra.yml

index 19c0e03496b742d94981faabacc0e2f18726fd22..6f94bf208eca5e2298394bf7099d6bbe5cc116f3 100644 (file)
@@ -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 }}