Skip to content

Commit

Permalink
sonar conf test
Browse files Browse the repository at this point in the history
  • Loading branch information
s3b4stian committed Dec 13, 2023
1 parent b4cee13 commit c383e60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

Expand All @@ -74,8 +74,8 @@ jobs:
- name: Execute tests
run: vendor/bin/phpunit --coverage-clover=coverage-report.clover --log-junit=test-report.xml

- name: Fix code coverage paths
run: sed -i 's/\/home\/runner\/work\/framework\/framework\//\/github\/workspace\//g' coverage-report.clover
#- name: Fix code coverage paths
# run: sed -i 's/\/home\/runner\/work\/framework\/framework\//\/github\/workspace\//g' coverage-report.clover

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand Down

0 comments on commit c383e60

Please sign in to comment.