diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml new file mode 100644 index 000000000..24e48370e --- /dev/null +++ b/.github/workflows/test-pr.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bddc9a93c..094805c2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,6 @@ on: - 'master' - 'pico-3.0' tags: [ 'v*.*.*' ] - pull_request: {} jobs: test: