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 3dd81c4
Show file tree
Hide file tree
Showing 2 changed files with 27 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: Pull Request testing

on:
pull_request: {}

jobs:
test:
name: Test Pico CMS
uses: ./.github/workflows/test.yml

bouncer:
name: Test Pico CMS

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
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- 'master'
- 'pico-3.0'
tags: [ 'v*.*.*' ]
pull_request: {}

jobs:
test:
Expand Down

0 comments on commit 3dd81c4

Please sign in to comment.