diff options
author | Tony B <56896165+TonyBgithub@users.noreply.github.com> | 2022-09-30 13:44:13 +0200 |
---|---|---|
committer | Philippe Perrin <philippe.perrin@sonarsource.com> | 2022-10-07 12:13:55 +0200 |
commit | 574c51ada7d6f69c70084445ec69701b4da6f074 (patch) | |
tree | bc9e0bf13577a04b868744baf836625964a77e0e | |
parent | fe5eb0fca6f0a31991bd20cd740d078e52bcb0fe (diff) | |
download | sonarqube-574c51ada7d6f69c70084445ec69701b4da6f074.tar.gz sonarqube-574c51ada7d6f69c70084445ec69701b4da6f074.zip |
DOC-172 Update PHP test coverage docs (#6749)
-rw-r--r-- | server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md | 5 |
1 files changed, 0 insertions, 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: |