CI: Add bouncer step to PR testing

This commit is contained in:
Daniel Rudolf 2023-01-05 22:34:31 +01:00
parent 0c87fae09b
commit efa51f66b1
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538
2 changed files with 28 additions and 1 deletions

27
.github/workflows/test-pr.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Test Pico CMS pull request
on:
pull_request: {}
jobs:
test:
name: Test Pico CMS
uses: ./.github/workflows/test.yml
bouncer:
name: Bouncer
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Check build matrix status
if: ${{ needs.test.result != 'success' }}
run: |
:
echo "Some tests of Pico CMS failed." >&2
echo "Please check the GitHub workflow logs for details." >&2
exit 1

View file

@ -6,7 +6,7 @@ on:
- 'master'
- 'pico-3.0'
tags: [ 'v*.*.*' ]
pull_request: {}
workflow_call: {}
jobs:
test: