From 574c51ada7d6f69c70084445ec69701b4da6f074 Mon Sep 17 00:00:00 2001 From: Tony B <56896165+TonyBgithub@users.noreply.github.com> Date: Fri, 30 Sep 2022 13:44:13 +0200 Subject: [PATCH] DOC-172 Update PHP test coverage docs (#6749) --- .../src/pages/analysis/test-coverage/php-test-coverage.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md b/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md index 751fa8e2fa4..20e0db833de 100644 --- a/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md +++ b/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md @@ -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: -- 2.39.5