Skip to content

Commit

Permalink
Update sbt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kamenitxan authored Jul 16, 2023
1 parent b9a148c commit 8ee5f3f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/sbt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ jobs:
with:
fail_ci_if_error: true
- name: Replace all working directory paths with sources path
run: if [[ -n "${{ inputs.scoverageReport }}" ]]; then sed -i -e s,`pwd`,/github/workspace,g ${{ inputs.scoverageReport }}; fi
run: if [[ -n "modules/backend/target/scala-3.3.1-RC4/scoverage-report/scoverage.xml" ]]; then sed -i -e s,`pwd`,/github/workspace,g modules/backend/target/scala-3.3.1-RC4/scoverage-report/scoverage.xml; fi
shell: bash
with:
scoverageReport: modules/backend/target/scala-3.3.1-RC4/scoverage-report/scoverage.xml
- name: Analyze with SonarCube
uses: sonarsource/sonarqube-scan-action@master
env:
Expand All @@ -58,4 +56,4 @@ jobs:
-Dsonar.sources=modules/backend/src
-Dsonar.verbose=false
-Dsonar.exclusions=modules/backend/src/main/resources/**
-Dsonar.scala.coverage.reportPaths=modules/backend/target/scala-3.3.1-RC4/scoverage-report/scoverage.xml
-Dsonar.scala.coverage.reportPaths=modules/backend/target/scala-3.3.1-RC4/scoverage-report/scoverage.xml

0 comments on commit 8ee5f3f

Please sign in to comment.