Skip to content

Commit

Permalink
fix: path for fixed coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jordipuigbou committed Nov 23, 2023
1 parent 7551743 commit 864a5d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: fix code coverage paths
run: |
cp apis/_output/reports/coverage.xml /tmp/coverage_fixed.xml ;sed -i 's/root/\/github\/workspace/g' /tmp/coverage_fixed.xml
mkdir apis/reports ; cp apis/_output/reports/coverage.xml apis/reports/coverage_fixed.xml ; sed -i 's/root/\/github\/workspace/g' apis/reports/coverage_fixed.xml
- name: Archive apis artifacts before clean
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sonar.organization=jordipuigbou
sonar.sources=.
sonar.sourceEncoding=UTF-8
sonar.test.inclusions=apis/test.py
sonar.python.coverage.reportPaths=/tmp/coverage_fixed.xml
sonar.python.coverage.reportPaths=apis/reports/coverage_fixed.xml
sonar.python.version=3
sonar.python.xunit.reportPath=apis/_output/reports/junit-apis.xml
sonar.python.xunit.skipDetails=true

0 comments on commit 864a5d0

Please sign in to comment.