]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci(busybox): do not install additional packages during test run
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 25 Jan 2026 13:07:11 +0000 (08:07 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 25 Jan 2026 17:30:52 +0000 (12:30 -0500)
Only run those tests that are passing on busybox without additional
GNU tools.

Removed test 82, as that is now failing due to busybox procps-ng
differences.

.github/workflows/daily-busybox-x64.yml

index a3c5cc3f25ed3167076e838e4208fc7c14796394..c1e7d5f09606e1f80405cf9349c6e6935cb4512d 100644 (file)
@@ -14,37 +14,35 @@ on:  # yamllint disable-line rule:truthy
 
 jobs:
     busybox:
-        name: ${{ matrix.config.test }} on ${{ matrix.container }} with busybox
+        name: ${{ matrix.test }} on ${{ matrix.container }} with busybox
         runs-on: ubuntu-24.04
         timeout-minutes: 20
         concurrency:
             group: >
                 daily-busybox-${{ github.workflow }}-${{ github.ref }}
-                -${{ matrix.container }}-${{ matrix.config.test }}
+                -${{ matrix.container }}-${{ matrix.test }}
             cancel-in-progress: true
         strategy:
             fail-fast: false
             matrix:
                 container:
                     - alpine:busybox-edge
-                config:
-                    - {test: '10', deps: ''}
-                    - {test: '11', deps: 'btrfs-progs'}
-                    - {test: '12', deps: 'efistub ovmf squashfs-tools'}
-                    - {test: '13', deps: ''}
-                    - {test: '20', deps: 'lvm2 device-mapper'}
-                    - {test: '26', deps: 'cryptsetup mdadm device-mapper lvm2 partx sed'}
-                    - {test: '50', deps: 'networkmanager-initrd-generator networkmanager'}
-                    - {test: '80', deps: ''}
-                    - {test: '81', deps: ''}
-                    - {test: '82', deps: 'cargo procps-ng'}
+                test:
+                    - '10'
+                    - '11'
+                    - '12'
+                    - '13'
+                    - '20'
+                    - '26'
+                    - '50'
+                    - '80'
+                    - '81'
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
             options: '--device=/dev/kvm --privileged'
         steps:
             - name: "Checkout Repository"
               uses: actions/checkout@v6
-            - name: "TEST-${{ matrix.config.test }}"
+            - name: "TEST-${{ matrix.test }}"
               run: >
-                TEST_CONTAINER_COMMAND="apk add ${{ matrix.config.deps }}"
-                ./test/test-container.sh "TEST-${{ matrix.config.test }}" ${{ matrix.config.test }}
+                ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}