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 14:38:13 +01:00
parent 0573ed1ade
commit 7cb5aefb5b
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

View File

@ -22,7 +22,7 @@ jobs:
- name: Test
run: mvn -B -P coverage clean verify
- name: Analysis
if: matrix.analysis && github.event_name == 'push'
if: matrix.analysis
run: >
mvn -B sonar:sonar
-Dsonar.host.url=https://sonarcloud.io