File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
1416 - uses : actions/setup-java@v4
1517 with :
1618 distribution : ' temurin'
@@ -26,20 +28,14 @@ jobs:
2628 with :
2729 name : coverage-report
2830 path : target/site/jacoco/
29-
30- cross-platform :
31- needs : build
32- strategy :
33- fail-fast : false
34- matrix :
35- os : [windows-latest, macos-latest]
36- runs-on : ${{ matrix.os }}
37- steps :
38- - uses : actions/checkout@v4
39- - uses : actions/setup-java@v4
40- with :
41- distribution : ' temurin'
42- java-version : ' 25'
43- cache : ' maven'
44- - run : mvn clean verify -B -pl . -Dfrontend.skip=true
45- continue-on-error : true
31+ - name : SonarCloud analysis
32+ if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
33+ env :
34+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
35+ run : >
36+ mvn sonar:sonar -B
37+ -Dsonar.projectKey=RandomCodeSpace_code-iq
38+ -Dsonar.organization=randomcodespace
39+ -Dsonar.host.url=https://sonarcloud.io
40+ "-Dsonar.exclusions=**/grammar/**,target/generated-sources/**"
41+ "-Dsonar.coverage.exclusions=**/grammar/**,target/generated-sources/**"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments