Skip to content

Commit

Permalink
try to re-enable sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBredl committed Apr 6, 2024
1 parent a33f11d commit 07fb6ab
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
uses: gradle/wrapper-validation-action@v2
- name: Run chmod to make gradlew executable
run: chmod +x gradlew

- name: Run tests
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Execute tests
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
uses: gradle/gradle-build-action@v3
with:
arguments: cleanTest test
# Configuration for SonarCloud, enable this when SonarCloud is configured
# - name: Execute tests
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# uses: gradle/gradle-build-action@v3
# with:
# arguments: cleanTest test jacocoTestReport sonar
arguments: cleanTest test jacocoTestReport sonar



Expand Down

0 comments on commit 07fb6ab

Please sign in to comment.