diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 068ed2d7a3e..fd1e2dacc84 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -58,12 +58,17 @@ jobs: with: name: Code Cleanliness Detailed Logs path: '*.log' + - name: Prepare Test Results for upload + if: (success() || failure()) + run: | + cp ${{ github.event_path }} event.json - name: Upload Test Results uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results path: | + event.json */*/target/surefire-reports/*.xml terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/*.xml - name: Prepare Docs for upload diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index 7a345491e3e..1b55231f430 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -26,3 +26,5 @@ jobs: with: commit: ${{ github.event.workflow_run.head_sha }} junit_files: "test-results/**/*.xml" + event_file: event.json + event_name: ${{ github.event.workflow_run.event }}