- 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:
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: