diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index c07ea60..2a1e964 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -30,7 +30,7 @@ jobs: key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Build and analyze - run: ./gradlew build sonar --info + run: ./gradlew test sonar --info env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}