mirror of
git://develop.git.wordpress.org/
synced 2025-03-15 01:19:51 +01:00
Build/Test Tools: Disable fail-fast
for PHPUnit testing.
In GitHub Actions, there is a `fail-fast` option that will cancel all incomplete jobs within a workflow as soon as one failure is encountered. This defaults to `true`. This is great for alerting you of a failure faster, but does not give you the full picture of what is failing. For example, it’s possible that there is a failing test on 2 versions of PHP, but not others. If `fail-fast` is enabled, it’s impossible to know this. Even with `fail-fast` disabled, the workflow will still report a failure if one or more jobs produce a failing result. Props johbillion, jorbin. Fixes #52612. git-svn-id: https://develop.svn.wordpress.org/trunk@50435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dae8858b4a
commit
f2b56883f0
1
.github/workflows/phpunit-tests.yml
vendored
1
.github/workflows/phpunit-tests.yml
vendored
@ -132,6 +132,7 @@ jobs:
|
||||
needs: setup-wordpress
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php: [ '5.6.20', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ]
|
||||
os: [ ubuntu-latest ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user