Skip to content

Commit

Permalink
Create ci-publish-unit-test-results.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Capybara34 <148083938+Capybara34@users.noreply.github.com>
  • Loading branch information
Capybara34 authored Oct 19, 2023
1 parent 27813b2 commit 294fd57
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci-publish-unit-test-results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Unit Test Results

on:
workflow_run:
workflows: ["Unit Tests"]
types:
- completed

jobs:
unit-test-results:
name: Unit Test Results
runs-on: ubuntu-latest
if: github.event.workflow_run.event == 'pull_request'

steps:
- name: Download and Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
commit: ${{ github.event.workflow_run.head_sha }}
github_token: ${{ secrets.GITHUB_TOKEN }}
files: "**/*.xml"

0 comments on commit 294fd57

Please sign in to comment.