CI: Add bouncer step to PR testing

pico-3.0
Daniel Rudolf 2 years ago
parent 0c87fae09b
commit efa51f66b1
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
  1. 27
      .github/workflows/test-pr.yml
  2. 2
      .github/workflows/test.yml

@ -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

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

Loading…
Cancel
Save