Skip to content

Commit 5ed4679

Browse files
Removed Test Report step (#501)
1 parent 1930d3a commit 5ed4679

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/continuous-integration.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,16 +218,11 @@ jobs:
218218

219219
- name: "Run Unit Tests"
220220
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"
222222
223223
echo "[DEBUG] Running Maven with arguments: $MVN_ARGS"
224224
mvn $MVN_ARGS
225225
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
231226
- name: "Coverage Report"
232227
run: python .pipeline/scripts/print-coverage.py --jacoco-report-pattern "**/target/site/jacoco/jacoco.csv"
233228

@@ -281,7 +276,7 @@ jobs:
281276

282277
- name: "Run ${{ matrix.task.name }} Analysis"
283278
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 }}"
285280
286281
echo "[DEBUG] Running Maven with arguments: $MVN_ARGS"
287282
mvn $MVN_ARGS

0 commit comments

Comments
 (0)