File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2323 runs-on : ${{ matrix.os }}
2424 strategy :
2525 matrix :
26- os : [ ubuntu-latest, windows-latest ]
26+ os : [ ubuntu-latest, windows-latest, macos-latest ]
2727 permissions :
2828 contents : read
2929
Original file line number Diff line number Diff line change 1- name : SonarCloud
1+ name : Java build with Gradle and SonarCloud
22on :
33 push :
44 branches :
55 - main
66 pull_request :
7- types : [ opened, synchronize, reopened ]
7+ types :
8+ - opened
9+ - synchronize
10+ - reopened
11+ branches :
12+ - main
813jobs :
914 build :
1015 name : Build and analyze
3439 env :
3540 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3641 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
37- run : ./gradlew build sonar --info
42+ run : ./gradlew build jacocoTestReport sonar --info
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ tasks.withType<Test> {
5959}
6060
6161tasks.jacocoTestReport {
62- dependsOn(tasks.test) // tests are required to run before generating the report
6362 reports {
6463 xml.required = true
6564 }
You can’t perform that action at this time.
0 commit comments