Skip to content

Commit

Permalink
feat(ci): Added a step to publish the test results.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxemiliang committed Mar 17, 2023
1 parent ee1720f commit 087496b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,27 @@ name: Build
on: [push]

jobs:
build:
build-test:
uses: ./.github/workflows/build-workflow.yml
with:
job_count: 3
build_type: Release
retention: 30

publish-test:
needs: build-test
runs-on: [self-hosted, linux]
steps:
- uses: actions/download-artifact@v3
name: Download test results
with:
name: ${needs.build-test.outputs.test_artifact}

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
test-output/*.xml

0 comments on commit 087496b

Please sign in to comment.