ci: explicitly enable xdebug coverage and add condition for analysis
Some checks failed
continuous-integration/drone/push Build is passing
CI / integration (7.4, 5.9) (push) Failing after 1m7s
CI / integration (8.0, 6.0) (push) Failing after 1m6s
CI / integration (8.1, 6.2) (push) Failing after 1m4s
CI / integration (8.2, 6.4) (push) Failing after 1m5s
CI / integration (8.3, 6.6) (push) Failing after 55s
CI / analysis (push) Successful in 5s
CI / quality (push) Successful in 2m1s

This commit is contained in:
Stefan Kalscheuer 2024-11-12 17:09:25 +01:00
parent 1cc8869018
commit b237b731d5
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

View File

@ -23,6 +23,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
tools: composer
- name: Setup DB
run: sudo sudo systemctl start mysql.service
@ -65,6 +66,7 @@ jobs:
with:
fetch-depth: 0
- name: Analyze with SonarCloud
if: env.SONAR_TOKEN != ''
uses: sonarsource/sonarcloud-github-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}