Skip to content

Commit

Permalink
Fix artifact paths
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Oct 2, 2023
1 parent d0955ec commit 0dfb3dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,16 +385,16 @@ jobs:
- name: List everything
if: always()
run: |
cd source
ls -alh
cd coverage
ls -alh
cd source
ls -alh
- name: Fix coverage paths
if: always()
run: |
sed -i 's+/var/www/test-module/+./+' coverage/unit.xml
sed -i 's+/var/www/test-module/+./+' coverage/integration.xml
sed -i 's+/var/www/test-module/+./+' coverage/source/unit.xml
sed -i 's+/var/www/test-module/+./+' coverage/source/integration.xml
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
Expand All @@ -408,6 +408,6 @@ jobs:
-Dsonar.sources=src
-Dsonar.tests=tests
-Dsonar.sourceEncoding=UTF-8
-Dsonar.php.coverage.reportPaths=coverage/unit.xml,coverage/integration.xml
-Dsonar.php.coverage.reportPaths=coverage/source/unit.xml,coverage/source/integration.xml
-Dsonar.cpd.php.minimumTokens=25
-Dsonar.cpd.php.minimumLines=5

0 comments on commit 0dfb3dd

Please sign in to comment.