Skip to content

Commit

Permalink
Attach gametest results to PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
altrisi authored Jun 26, 2024
1 parent 722b48b commit 34777b5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/testreport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Attach test report

# Needs to be run separately because runs on external repositories can't add checks
on:
workflow_run:
workflows: [ "Pull Request Builds" ]
types: [ completed ]

jobs:
Upload:
runs-on: ubuntu-latest
steps:
- name: Download Test Report
uses: actions/download-artifact@v4
with:
name: gametest-results
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Attach Test Report
uses: mikepenz/action-junit-report@v3
with:
commit: ${{github.event.workflow_run.head_sha}}
report_paths: 'junit.xml'
check_name: Gametest report
summary: "Note that most functionality isn't currently tested by Gametest"

0 comments on commit 34777b5

Please sign in to comment.