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 14, 2024
1 parent 0a6cb4f commit ead16c5
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 ead16c5

Please sign in to comment.