Skip to content

Commit

Permalink
Use event file to line up PR build and reporting (#1026)
Browse files Browse the repository at this point in the history
Part of #1002
  • Loading branch information
jonahgraham authored Jan 15, 2025
1 parent 1b0fcf3 commit 47ecc78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 47ecc78

Please sign in to comment.