]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Do not run unit tests during build by default 36450/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 09:30:16 +0000 (10:30 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 09:31:19 +0000 (10:31 +0100)
We want the incremental builds to be as fast as possible, so let's
not run the unit tests locally during the image build by default.

.github/workflows/mkosi.yml
mkosi.conf
test/fmf/integration-tests/test.sh

index 5f14be6599856310205e6ea016f37aaf64486ef6..6ed7a48efa19043c581a0cb6c9bd87aa4fd1db7f 100644 (file)
@@ -161,6 +161,7 @@ jobs:
           UseSubvolumes=yes
           ToolsTreeDistribution=${{ matrix.distro }}
           ToolsTreeRelease=${{ matrix.release }}
+          WithTests=yes
 
           WorkspaceDirectory=$TMPDIR
           PackageCacheDirectory=$TMPDIR/cache
index 954012ee0f050bb4d548cc75865a0fc6d490dc80..1ae273a5daf8f1bc52d0c0da5c3cd70eff88f80c 100644 (file)
@@ -34,6 +34,7 @@ ToolsTree=default
 BuildDirectory=build/mkosi.builddir
 CacheDirectory=build/mkosi.cache
 Incremental=yes
+WithTests=no
 
 [Validation]
 SignExpectedPcr=yes
index c7aeb069989a5b45faab1b751900349748c7da5f..5c9f03c960c84f0da4be6ea0381d034383a52c80 100755 (executable)
@@ -95,6 +95,7 @@ SandboxTrees=
         /etc/yum.repos.d/:/etc/yum.repos.d/
         /var/share/test-artifacts/:/var/share/test-artifacts/
 Environment=NO_BUILD=1
+WithTests=yes
 EOF
 
     cat /etc/dnf/dnf.conf