]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
ci: Show output by default 1018/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Jun 2022 12:51:10 +0000 (14:51 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Jun 2022 12:51:10 +0000 (14:51 +0200)
Let's have pytest show output even for successful tests. This helps
with debugging issues that aren't related to a failing test (e.g.
why is gentoo slow to build).

.github/workflows/ci.yml

index 9ed4bce701424157e03831700ae6bc374a72697d..44ea1f9a4b3a62f35fa0d8590125103ddcc776b3 100644 (file)
@@ -38,7 +38,7 @@ jobs:
       run: pyright .
 
     - name: Unit Tests
-      run: python3 -m pytest -v tests
+      run: python3 -m pytest -sv tests
 
     - name: Test execution from current working directory
       run: python3 -m mkosi -h
@@ -181,7 +181,7 @@ jobs:
         sync-uri = https://raw.githubusercontent.com/257/binpkgs/main
         EOF
 
-        sudo MKOSI_TEST_DEFAULT_VERB=boot python3 -m pytest -m integration -v tests
+        sudo MKOSI_TEST_DEFAULT_VERB=boot python3 -m pytest -m integration -sv tests
 
     - name: Build/Boot ${{ matrix.distro }}/${{ matrix.format }} UEFI UKI
       run: |
@@ -190,7 +190,7 @@ jobs:
         BootProtocols=uefi
         EOF
 
-        sudo MKOSI_TEST_DEFAULT_VERB=qemu python3 -m pytest -m integration -v tests
+        sudo MKOSI_TEST_DEFAULT_VERB=qemu python3 -m pytest -m integration -sv tests
 
     - name: Build/Boot ${{ matrix.distro }}/${{ matrix.format }} UEFI
       run: |
@@ -200,7 +200,7 @@ jobs:
         WithUnifiedKernelImages=no
         EOF
 
-        sudo MKOSI_TEST_DEFAULT_VERB=qemu python3 -m pytest -m integration -v tests
+        sudo MKOSI_TEST_DEFAULT_VERB=qemu python3 -m pytest -m integration -sv tests
 
     - name: Build/Boot ${{ matrix.distro }}/${{ matrix.format }} BIOS
       run: |
@@ -210,4 +210,4 @@ jobs:
         WithUnifiedKernelImages=no
         EOF
 
-        sudo MKOSI_TEST_DEFAULT_VERB=qemu python3 -m pytest -m integration -v tests
+        sudo MKOSI_TEST_DEFAULT_VERB=qemu python3 -m pytest -m integration -sv tests