publish-hybridse-test-result-from-fork #2948
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish-hybridse-test-result-from-fork | |
on: | |
# the action will only run on dependabot/fork pull request | |
workflow_run: | |
workflows: ["HybridSE CI"] | |
types: | |
- completed | |
jobs: | |
test-results-linux: | |
if: > | |
github.event.workflow_run.conclusion != 'skipped' && ( | |
github.event.sender.login == 'dependabot[bot]' || | |
github.event.workflow_run.head_repository.full_name != github.repository | |
) | |
name: Publish HybridSE Linux UT Results | |
uses: ./.github/workflows/publish-test-result-from-fork-action.yml | |
with: | |
commit: ${{ github.event.workflow_run.head_sha }} | |
files: artifacts/linux-ut-result-*/**/*.xml | |
check_name: HybridSE Linux Test Report | |
comment_title: HybridSE Linux Test Report | |
event_name: ${{ github.event.workflow_run.event }} | |
run_id: ${{ github.event.workflow_run.id }} | |
test-results-mac: | |
if: > | |
github.event.workflow_run.conclusion != 'skipped' && ( | |
github.event.sender.login == 'dependabot[bot]' || | |
github.event.workflow_run.head_repository.full_name != github.repository | |
) | |
name: Publish HybridSE Mac UT Results | |
uses: ./.github/workflows/publish-test-result-from-fork-action.yml | |
with: | |
commit: ${{ github.event.workflow_run.head_sha }} | |
files: artifacts/macos-ut-result-*/**/*.xml | |
check_name: HybridSE Mac Test Report | |
comment_title: HybridSE Mac Test Report | |
event_name: ${{ github.event.workflow_run.event }} | |
run_id: ${{ github.event.workflow_run.id }} |