Skip to content

Commit

Permalink
attempt to update sonarcloud scan action (#1567)
Browse files Browse the repository at this point in the history
* attempt to update sonarcloud scan action

* temp remove change to integration test

* temp remove all integration tests

* update Scan version, do debug

* remove sed command

* add back in integration tests, remove debug param
  • Loading branch information
andrewelamb authored Jan 10, 2025
1 parent 48da1c0 commit 32780d6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/<source>\/home\/runner\/work\/schematic\/schematic\/schematic<\/source>/<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 }}
Expand Down

0 comments on commit 32780d6

Please sign in to comment.