From 87a3ee36b28fbb10a38692c898f87c0f4462460d Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 5 Jun 2024 10:01:01 +0200 Subject: [PATCH] ci: use exhaustive check level for csmock --- .github/workflows/csmock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/csmock.yml b/.github/workflows/csmock.yml index 7ed88dce..c483aac4 100644 --- a/.github/workflows/csmock.yml +++ b/.github/workflows/csmock.yml @@ -54,7 +54,7 @@ jobs: run: podman exec -it ${{ env.CI_CONTAINER }} bash -c "rpmbuild -bs --define '_sourcedir .' rpm/sid.spec" - name: Run csmock - run: podman exec -it ${{ env.CI_CONTAINER }} bash -c "csmock --known-false-positives .csmock-kfp.js -o sid-csmock-results.tar.xz -r ${{ env.CSMOCK_CHROOTS }} --tools ${{ env.CSMOCK_TOOLS }} ~/rpmbuild/SRPMS/sid*.src.rpm" + run: podman exec -it ${{ env.CI_CONTAINER }} bash -c "csmock --known-false-positives .csmock-kfp.js --check-level=exhaustive -o sid-csmock-results.tar.xz -r ${{ env.CSMOCK_CHROOTS }} --tools ${{ env.CSMOCK_TOOLS }} ~/rpmbuild/SRPMS/sid*.src.rpm" - name: Check csmock results run: podman exec -it ${{ env.CI_CONTAINER }} bash -c "tar -xf sid-csmock-results.tar.xz && test -s sid-csmock-results/scan-results-summary.txt && exit 1 || exit 0"