File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1515 java-version : 1.8
1616 - name : Run unit tests and coverage generation
1717 run : ./gradlew jacocoTestReport
18+ - name : SonarCloud static code analysis
19+ run : ./gradlew sonar
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
1823 - name : Run instrumentation tests
1924 uses : reactivecircus/android-emulator-runner@v2
2025 with :
2429 avd-name : test
2530 emulator-options : -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
2631 disable-animations : true
27- script : ./gradlew -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.FlakyTest connectedPlayDebugAndroidTest connectedFossDebugAndroidTest
28- - name : SonarCloud static code analysis
29- uses : sonarsource/sonarcloud-github-action@master
30- env :
31- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
32+ script : ./gradlew -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.FlakyTest connectedPlayDebugAndroidTest connectedFossDebugAndroidTest
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ sonarqube {
4747 properties {
4848 property " sonar.projectName" , " Omni Notes"
4949 property " sonar.projectKey" , " omni-notes"
50+ property " sonar.organisation" , " federicoiosue-github"
5051 property ' sonar.projectVersion' , project. VERSION_NAME
5152 property " sonar.host.url" , " https://sonarcloud.io"
5253 property ' sonar.sourceEncoding' , ' UTF-8'
You can’t perform that action at this time.
0 commit comments