Skip to content

Commit

Permalink
Merge pull request #2 from akagami-harsh/publish-unit-test-result-action
Browse files Browse the repository at this point in the history
add workflow for publising unit test results
  • Loading branch information
akagami-harsh committed Oct 19, 2023
2 parents 27813b2 + 7057962 commit f26137d
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 f26137d

Please sign in to comment.