Add SonarCloud analysis

This commit is contained in:
Ilkka Seppälä
2020-06-14 21:02:40 +03:00
parent 71affacee2
commit 5db8037b8b
2 changed files with 15 additions and 1 deletions

View File

@ -23,4 +23,8 @@ jobs:
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Build with Maven
run: xvfb-run mvn clean verify
with:
args: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env:
GITHUB_TOKEN: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}