From 5ed4679195624c1713a7c287076a6506aab3d1d3 Mon Sep 17 00:00:00 2001 From: Charles Dubois <103174266+CharlesDuboisSAP@users.noreply.github.com> Date: Tue, 16 Jul 2024 10:27:17 +0200 Subject: [PATCH] Removed `Test Report` step (#501) --- .github/workflows/continuous-integration.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 02278dfcb..53649cbe5 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -218,16 +218,11 @@ jobs: - name: "Run Unit Tests" run: | - MVN_ARGS="${{ env.MVN_SINGLE_THREADED_ARGS }} org.jacoco:jacoco-maven-plugin:prepare-agent surefire:test org.jacoco:jacoco-maven-plugin:report" + 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" echo "[DEBUG] Running Maven with arguments: $MVN_ARGS" mvn $MVN_ARGS - - name: "Test Report" - #Surefire reports are failing on pull requests created from forks and from GitHub Apps like dependabot - #https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events - if: github.event.pull_request.head.repo.full_name == 'SAP/cloud-sdk-java' && github.actor != 'dependabot[bot]' - uses: scacap/action-surefire-report@v1 - name: "Coverage Report" run: python .pipeline/scripts/print-coverage.py --jacoco-report-pattern "**/target/site/jacoco/jacoco.csv" @@ -281,7 +276,7 @@ jobs: - name: "Run ${{ matrix.task.name }} Analysis" run: | - MVN_ARGS="${{ env.MVN_SINGLE_THREADED_ARGS }} ${{ env.MVN_SKIP_CI_PLUGINS }} ${{ matrix.task.mvn_goal }}" + MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} ${{ env.MVN_SKIP_CI_PLUGINS }} ${{ matrix.task.mvn_goal }}" echo "[DEBUG] Running Maven with arguments: $MVN_ARGS" mvn $MVN_ARGS