Skip to content

Commit

Permalink
Testing sonar coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaugiralt committed Feb 4, 2025
1 parent c0558a9 commit a5ef9d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ 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: 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 a5ef9d1

Please sign in to comment.