]> source.dussan.org Git - sonarqube.git/commitdiff
DOC-172 Update PHP test coverage docs (#6749)
authorTony B <56896165+TonyBgithub@users.noreply.github.com>
Fri, 30 Sep 2022 11:44:13 +0000 (13:44 +0200)
committerPhilippe Perrin <philippe.perrin@sonarsource.com>
Fri, 7 Oct 2022 10:13:55 +0000 (12:13 +0200)
server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md

index 751fa8e2fa4f4db254cd4895474cc690f4dd12e8..20e0db833de677ea517a66418dc7b1293c17b160 100644 (file)
@@ -45,9 +45,6 @@ Simply add the following to your `.github/workflows/build.yml` file:
 
 - name: Run tests with phpunit/phpunit
     run: vendor/bin/phpunit --coverage-clover=coverage.xml
-
-- name: Fix code coverage paths
-          run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml
 ```
 
 The resulting file should look something like this:
@@ -75,8 +72,6 @@ jobs:
           run: composer update --no-ansi --no-interaction --no-progress
         - name: Run tests with phpunit/phpunit
           run: vendor/bin/phpunit --coverage-clover=coverage.xml
-        - name: Fix code coverage paths
-          run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml
         - name: SonarQube Scan
           uses: SonarSource/sonarqube-scan-action@master
           env: