Skip to content

Using dedicted workflow step to make sure vallang PRs don't fail on t… #1

Using dedicted workflow step to make sure vallang PRs don't fail on t…

Using dedicted workflow step to make sure vallang PRs don't fail on t… #1

name: Publish Test Results
# this separate workflow makes sure we can report test results, even for external PRs
on:
workflow_run:
workflows: ["Build and Deploy"]
types:
- completed
permissions: {}
jobs:
test-results:

Check failure on line 12 in .github/workflows/publish-test-results.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-test-results.yaml

Invalid workflow file

You have an error in your yaml syntax on line 12
name: Test Results
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion != 'skipped'
permissions:
checks: write
pull-requests: write
actions: read
steps:
- name: Download and Extract Artifacts
uses: dawidd6/action-download-artifact@v2
with:
run_id: ${{ github.event.workflow_run.id }}
path: artifacts
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
commit: ${{ github.event.workflow_run.head_sha }}
event_file: artifacts/Event File/event.json
event_name: ${{ github.event.workflow_run.event }}
files: "artifacts/**/*.xml"