Skip to content

Commit

Permalink
fix: jacoco csv file location and report location (#23)
Browse files Browse the repository at this point in the history
Update jacoco csv file location.

Closes issue #18
  • Loading branch information
Ricardo Campos authored and DerekRoberts committed May 13, 2024
1 parent cd0d302 commit cf60163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
id: jacoco
with:
generate-branches-badge: true
jacoco-csv-file: target/coverage-reports/merged-test-report/jacoco.csv
jacoco-csv-file: backend/target/coverage-reports/merged-test-report/jacoco.csv

- name: Log coverage percentage
run: |
Expand All @@ -127,7 +127,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: jacoco-report
path: target/coverage-reports/merged-test-report/
path: backend/target/coverage-reports/merged-test-report/

- name: SonarCloud Scan
run: mvn --no-transfer-progress clean verify package -P all-tests sonar:sonar -Dsonar.projectKey=bcgov_nr-spar-backend -Dsonar.coverage.jacoco.xmlReportPaths=target/coverage-reports/merged-test-report/jacoco.xml --file backend/pom.xml
Expand Down

0 comments on commit cf60163

Please sign in to comment.