40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Upload Reports
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows:
|
|
- CI
|
|
- Test
|
|
branches-ignore:
|
|
- devel
|
|
- v[0-9]+
|
|
- v[0-9]+.[0-9]+.[0-9]+
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
loadtest:
|
|
name: Loadtest
|
|
permissions:
|
|
checks: write
|
|
runs-on: ubuntu-22.04
|
|
if: github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure'
|
|
steps:
|
|
- name: Download from Artifacts
|
|
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
|
with:
|
|
github-token: ${{ github.token }}
|
|
run-id: ${{ github.event.workflow_run.id }}
|
|
name: loadtest.md
|
|
path: artifacts
|
|
- name: Upload to GitHub Checks
|
|
uses: LouisBrunner/checks-action@6b626ffbad7cc56fd58627f774b9067e6118af23 # v2.0.0
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sha: ${{ github.event.workflow_run.head_sha }}
|
|
name: Loadtest Results
|
|
conclusion: neutral
|
|
output: |
|
|
{"summary":""}
|
|
output_text_description_file: artifacts/loadtest.md
|