fix code coverage collection
@@ -67,9 +67,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_LOGIN }}
run: |
- mvn verify sonar:sonar -Pcoverage \
+ mvn verify -Pcoverage
+ mvn sonar:sonar \
-Dsonar.projectKey=smallrye_smallrye-mutiny \
-Dsonar.projectName="SmallRye Mutiny" \
-Dsonar.organization=smallrye \
-Dsonar.host.url=https://sonarcloud.io \
- -Dsonar.login=$SONAR_LOGIN
+ -Dsonar.login=$SONAR_LOGIN \
+ -Dsonar.coverage.jacoco.xmlReportPaths=target/jacoco.xml
