We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2872bc commit 37412b3Copy full SHA for 37412b3
.github/workflows/phpunit.yaml
@@ -66,3 +66,13 @@ jobs:
66
env:
67
WP_TESTS_DIR: ${{ runner.temp }}/wordpress-tests-lib
68
WP_CORE_DIR: ${{ runner.temp }}/wordpress
69
+
70
+ required-status-checks:
71
+ name: PHPUnit Required Status Checks
72
+ runs-on: 'ubuntu-24.04'
73
+ needs: [ 'phpunit' ]
74
+ if: ${{ always() }}
75
+ steps:
76
+ - name: Detect any failing status checks
77
+ run: |
78
+ [[ "${{ join(needs.*.result, ' ') }}" =~ ^(success ?)+$ ]] || exit 1
0 commit comments