]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
ci: re-run the test verbosely when on failure
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Oct 2024 16:28:32 +0000 (17:28 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 17 Oct 2024 13:35:10 +0000 (08:35 -0500)
This will provide us the test log, without having to fiddle with upload
actions. Which is particularly funky since:
 - v4 requires distinct names
 - symbols like : (as in our container name) are not supported

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/179
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.github/workflows/main.yml

index 7f237715c6d1630f4e7d5e82e45ab366d8ebff2d..276e5eb4783f8cd8afb0de7a2a3a984b8558bcb8 100644 (file)
@@ -91,7 +91,7 @@ jobs:
 
       - name: test (meson)
         if: ${{ matrix.build == 'meson' }}
-        run: cd build && meson test
+        run: cd build && meson test || meson test --verbose
 
       - name: test (autotools)
         if: ${{ matrix.build == 'autotools' }}
@@ -123,4 +123,4 @@ jobs:
 
       - name: test (32bit) (meson)
         if: ${{ matrix.build == 'meson' && matrix.container.multilib == 'true' }}
-        run: cd build32 && meson test
+        run: cd build32 && meson test || meson test --verbose