Skip to content

Commit

Permalink
SonarCloud scan within Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
federicoiosue committed Dec 22, 2020
1 parent 7634a12 commit d78a98e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
disable-animations: true
script: ./gradlew -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.FlakyTest,androidx.test.filters.LargeTest jacocoTestReport --stacktrace
- name: SonarCloud static code analysis
run: ./gradlew sonar
- name: SonarCloud static code and coverage analysis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew sonarqube -Dsonar.login="$SONAR_TOKEN"

0 comments on commit d78a98e

Please sign in to comment.