Skip to content

Commit

Permalink
CI: Add bouncer step to PR testing
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte committed Jan 5, 2023
1 parent 0c87fae commit efa51f6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'master'
- 'pico-3.0'
tags: [ 'v*.*.*' ]
pull_request: {}
workflow_call: {}

jobs:
test:
Expand Down

0 comments on commit efa51f6

Please sign in to comment.