diff --git a/.gitea/workflows/sonarqube.yaml b/.gitea/workflows/sonarqube.yaml index 17cb253..02f79b3 100644 --- a/.gitea/workflows/sonarqube.yaml +++ b/.gitea/workflows/sonarqube.yaml @@ -24,4 +24,13 @@ jobs: with: args: > -Dsonar.projectVersion=1.0.0 - -Dsonar.projectKey=${{ secrets.SONARQUBE_PROJECT_KEY }} \ No newline at end of file + -Dsonar.projectKey=${{ secrets.SONARQUBE_PROJECT_KEY }} + - name: Setup PHP with Xdebug + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + coverage: xdebug + - name: Install dependencies with composer + run: composer update --no-ansi --no-interaction --no-progress + - name: Run tests with phpunit/phpunit + run: vendor/bin/phpunit --coverage-clover=coverage.xml \ No newline at end of file