From adf2be024b09f05ccd46f6b4d25be2372041efb2 Mon Sep 17 00:00:00 2001 From: Cato Olsen Date: Thu, 25 Jan 2024 14:18:46 +0100 Subject: [PATCH] =?UTF-8?q?Justeringer=20p=C3=A5=20kj=C3=B8ring=20av=20tes?= =?UTF-8?q?ter=20og=20sonar.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/common.workflow.backend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/common.workflow.backend.yml b/.github/workflows/common.workflow.backend.yml index 84a8876457c..4be851c637d 100644 --- a/.github/workflows/common.workflow.backend.yml +++ b/.github/workflows/common.workflow.backend.yml @@ -87,7 +87,7 @@ jobs: uses: gradle/gradle-build-action@v2 with: build-root-directory: ${{ inputs.working-directory }} - arguments: build ${{ inputs.sonar-enabled && '' || '-x test' }} --scan + arguments: build --scan cache-read-only: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -122,7 +122,7 @@ jobs: uses: gradle/gradle-build-action@v2 with: build-root-directory: ${{ inputs.working-directory }} - arguments: jacocoTestReport sonar + arguments: jacocoTestReport sonar -Dsonar.gradle.skipCompile=true cache-read-only: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}