File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,19 @@ jobs:
41
41
${{ runner.os }}-maven
42
42
43
43
- name : Regular Build
44
+ if : ${{ !matrix.sonar-enabled }}
44
45
run : |
45
- ./mvnw -B -U clean verify
46
+ ./mvnw -B -U clean verify
47
+
48
+ - name : Build with Coverage reports
49
+ if : matrix.sonar-enabled
50
+ run : |
51
+ ./mvnw -B -U -Dcoverage clean verify
46
52
47
53
- name : Sonar Analysis
48
54
if : matrix.sonar-enabled
49
55
run : |
50
- ./mvnw -B -Pcoverage sonar:sonar \
56
+ ./mvnw -B sonar:sonar \
51
57
-Dsonar.projectKey=AxonFramework_extension-kotlin \
52
58
-Dsonar.organization=axonframework \
53
59
-Dsonar.host.url=https://sonarcloud.io \
Original file line number Diff line number Diff line change @@ -38,13 +38,19 @@ jobs:
38
38
${{ runner.os }}-maven
39
39
40
40
- name : Regular Build
41
+ if : ${{ !matrix.sonar-enabled }}
41
42
run : |
42
- ./mvnw -B -U clean verify
43
+ ./mvnw -B -U clean verify
44
+
45
+ - name : Build with Coverage reports
46
+ if : matrix.sonar-enabled
47
+ run : |
48
+ ./mvnw -B -U -Possrh -Dcoverage clean verify
43
49
44
50
- name : Sonar Analysis
45
51
if : ${{ success() && matrix.sonar-enabled && github.event.pull_request.head.repo.full_name == github.repository }}
46
52
run : |
47
- ./mvnw -B -Pcoverage sonar:sonar \
53
+ ./mvnw -B sonar:sonar \
48
54
-Dsonar.projectKey=AxonFramework_extension-kotlin \
49
55
-Dsonar.organization=axonframework \
50
56
-Dsonar.host.url=https://sonarcloud.io \
You can’t perform that action at this time.
0 commit comments