ci: enable SonarQube analysis for pull requests
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Cherry-picked from 7cb5aefb5badf2bff333928fe429498fe9c8a73e
This commit is contained in:
parent
27d5f1b861
commit
30b151a15d
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
run: mvn -B -P coverage clean verify
|
run: mvn -B -P coverage clean verify
|
||||||
- name: Analysis
|
- name: Analysis
|
||||||
if: matrix.analysis && github.event_name == 'push'
|
if: matrix.analysis
|
||||||
run: >
|
run: >
|
||||||
mvn -B sonar:sonar
|
mvn -B sonar:sonar
|
||||||
-Dsonar.host.url=https://sonarcloud.io
|
-Dsonar.host.url=https://sonarcloud.io
|
||||||
|
Loading…
x
Reference in New Issue
Block a user