ci: enable SonarQube analysis for pull requests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan Kalscheuer 2022-11-21 11:48:11 +01:00
parent 712fab04e1
commit abba4dff93
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

View File

@ -40,7 +40,7 @@ jobs:
if: github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/release/')
run: mvn -B -P coverage verify
- name: Analysis
if: matrix.analysis && github.event_name == 'push'
if: matrix.analysis
run: >
mvn -B sonar:sonar
-Dsonar.host.url=https://sonarcloud.io