Skip to content

Commit

Permalink
add workflow for publising unit test results
Browse files Browse the repository at this point in the history
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
  • Loading branch information
akagami-harsh committed Oct 19, 2023
1 parent 27813b2 commit 7057962
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 7057962

Please sign in to comment.