From: Daan De Meyer Date: Thu, 20 Feb 2025 09:30:16 +0000 (+0100) Subject: mkosi: Do not run unit tests during build by default X-Git-Tag: v258-rc1~1296^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bddfcd96298255c897982e8f21bcc09ccc88e30c;p=thirdparty%2Fsystemd.git mkosi: Do not run unit tests during build by default 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. --- diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 5f14be65998..6ed7a48efa1 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -161,6 +161,7 @@ jobs: UseSubvolumes=yes ToolsTreeDistribution=${{ matrix.distro }} ToolsTreeRelease=${{ matrix.release }} + WithTests=yes WorkspaceDirectory=$TMPDIR PackageCacheDirectory=$TMPDIR/cache diff --git a/mkosi.conf b/mkosi.conf index 954012ee0f0..1ae273a5daf 100644 --- a/mkosi.conf +++ b/mkosi.conf @@ -34,6 +34,7 @@ ToolsTree=default BuildDirectory=build/mkosi.builddir CacheDirectory=build/mkosi.cache Incremental=yes +WithTests=no [Validation] SignExpectedPcr=yes diff --git a/test/fmf/integration-tests/test.sh b/test/fmf/integration-tests/test.sh index c7aeb069989..5c9f03c960c 100755 --- a/test/fmf/integration-tests/test.sh +++ b/test/fmf/integration-tests/test.sh @@ -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