Skip to content

Commit

Permalink
Justeringer på kjøring av tester og sonar.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Jan 25, 2024
1 parent 8da66f0 commit adf2be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/common.workflow.backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit adf2be0

Please sign in to comment.