diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b32d89634..08643f9e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,4 +32,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B compile org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + run: mvn -B test org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage