File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -218,16 +218,11 @@ jobs:
218
218
219
219
- name : " Run Unit Tests"
220
220
run : |
221
- MVN_ARGS="${{ env.MVN_SINGLE_THREADED_ARGS }} org.jacoco:jacoco-maven-plugin:prepare-agent surefire:test org.jacoco:jacoco-maven-plugin:report"
221
+ MVN_ARGS="${{ env.MVN_SINGLE_THREADED_ARGS }} org.jacoco:jacoco-maven-plugin:prepare-agent surefire:test org.jacoco:jacoco-maven-plugin:report --fail-at-end "
222
222
223
223
echo "[DEBUG] Running Maven with arguments: $MVN_ARGS"
224
224
mvn $MVN_ARGS
225
225
226
- - name : " Test Report"
227
- # Surefire reports are failing on pull requests created from forks and from GitHub Apps like dependabot
228
- # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events
229
- if : github.event.pull_request.head.repo.full_name == 'SAP/cloud-sdk-java' && github.actor != 'dependabot[bot]'
230
- uses : scacap/action-surefire-report@v1
231
226
- name : " Coverage Report"
232
227
run : python .pipeline/scripts/print-coverage.py --jacoco-report-pattern "**/target/site/jacoco/jacoco.csv"
233
228
@@ -281,7 +276,7 @@ jobs:
281
276
282
277
- name : " Run ${{ matrix.task.name }} Analysis"
283
278
run : |
284
- MVN_ARGS="${{ env.MVN_SINGLE_THREADED_ARGS }} ${{ env.MVN_SKIP_CI_PLUGINS }} ${{ matrix.task.mvn_goal }}"
279
+ MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} ${{ env.MVN_SKIP_CI_PLUGINS }} ${{ matrix.task.mvn_goal }}"
285
280
286
281
echo "[DEBUG] Running Maven with arguments: $MVN_ARGS"
287
282
mvn $MVN_ARGS
You can’t perform that action at this time.
0 commit comments