fix: use different method to comment test report

This commit is contained in:
Tim Grelka
2026-02-02 23:07:59 +01:00
parent 8c0da78a8c
commit 7cc4ccd03a
2 changed files with 29 additions and 10 deletions
+23
View File
@@ -0,0 +1,23 @@
name: Pytest Report
on:
workflow_run:
workflows: [Pytest]
types: [completed]
permissions:
checks: write
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Download Test Report
uses: actions/download-artifact@v7
with:
name: pytest-report
run-id: ${{ github.event.workflow_run.id }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v6
with:
commit: ${{github.event.workflow_run.head_sha}}
report_paths: pytest.xml
comment: true
pr_id: ${{ github.event.workflow_run.pull_requests[0].number }}