Skip to content

Commit

Permalink
Merge pull request #7 from cloudblue/test-sonar-coverage
Browse files Browse the repository at this point in the history
Testing sonar coverage action
  • Loading branch information
arnaugiralt authored Feb 4, 2025
2 parents c0558a9 + 30cd05c commit e6a4b0e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ jobs:
- name: Generate coverage report
run: |
poetry run pytest
- name: Fix coverage.xml for Sonar
run: |
sed -i 's/\/home\/runner\/work\/connect-extension-utils\/connect-extension-utils\//\/github\/workspace\//g' coverage.xml
- name: SonarCloud
uses: SonarSource/sonarcloud-github-action@master
uses: SonarSource/sonarqube-scan-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit e6a4b0e

Please sign in to comment.