diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dd2e0a4a0..23e3c561a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -198,12 +198,8 @@ jobs: uses: andstor/file-existence-action@v3 with: files: "coverage.xml" - # This is a workaround described in https://community.sonarsource.com/t/sonar-on-github-actions-with-python-coverage-source-issue/36057 - - name: Override Coverage Source Path for Sonar - if: steps.check_coverage_xml.outputs.files_exists == 'true' - run: sed -i "s/\/home\/runner\/work\/schematic\/schematic\/schematic<\/source>/\/github\/workspace\/schematic<\/source>/g" coverage.xml - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + uses: SonarSource/sonarqube-scan-action@v4.1.0 if: ${{ always() }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}