Skip to content

Commit

Permalink
Add coverage option in github sonar action (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdenarie authored Aug 18, 2021
1 parent f577f0e commit 79251ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 79251ef

Please sign in to comment.