Skip to content

Commit 0168039

Browse files
committed
SonarCloud scan within Github Actions
a
1 parent 7634a12 commit 0168039

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
2222
disable-animations: true
2323
script: ./gradlew -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.FlakyTest,androidx.test.filters.LargeTest jacocoTestReport --stacktrace
24-
- name: SonarCloud static code analysis
25-
run: ./gradlew sonar
24+
- name: SonarCloud static code and coverage analysis
2625
env:
2726
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
27+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
28+
run: ./gradlew sonarqube -Dsonar.login="$SONAR_TOKEN"

0 commit comments

Comments
 (0)