File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 3232 run : make lint
3333
3434 - name : Run tests
35- run : make test
35+ run : make test-coverage
3636
3737 - name : SonarQube Scan
3838 uses : SonarSource/sonarqube-scan-action@v5
3939 env :
4040 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
41+ with :
42+ args : >
43+ -Dsonar.php.coverage.reportPaths=build/logs/clover.xml
Original file line number Diff line number Diff line change 1515 composer exec --verbose phpunit tests
1616
1717test-coverage :
18- XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-clover=coverage .xml
18+ XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-clover=build/logs/clover .xml
1919
2020test-coverage-text :
2121 XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-text
You can’t perform that action at this time.
0 commit comments