ci: restore full PHP test matrix

debug/ci-class-id-cache
韩天峰 9 hours ago
parent 8f32497de7
commit 6693d95cd6
  1. 19
      .github/workflows/tests.yml

@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.5"]
php: ["8.4", "8.5"]
env:
PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx
@ -94,15 +94,13 @@ jobs:
phpunit:
name: PHPUnit (PHP ${{ matrix.php }})
# Temporary: keep the class-id cache investigation focused on PHPT.
if: ${{ false }}
runs-on: ubuntu-latest
timeout-minutes: 30
needs: build-phpx
strategy:
fail-fast: false
matrix:
php: ["8.5"]
php: ["8.4", "8.5"]
env:
PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx
@ -166,7 +164,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.5"]
php: ["8.4", "8.5"]
env:
PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx
NO_INTERACTION: 1
@ -267,16 +265,7 @@ jobs:
run: |
mkdir -p build
php run-tests.php -q -j8 --compiler ./tpc \
-w build/failed-tests.txt -W build/test-results.txt \
tests/compiler/basic/global-vars.phpt \
tests/compiler/native-class/failed-clone-finalizer.phpt \
tests/compiler/native-class/failed-lifecycle-escape.phpt \
tests/compiler/native-class/fiber-shutdown.phpt \
tests/compiler/native-class/finalizer-allocation.phpt \
tests/compiler/native-class/finalizer-inheritance-exception.phpt \
tests/compiler/native-class/gc-threshold.phpt \
tests/compiler/native-class/global-and-static.phpt \
tests/compiler/native-class/lifecycle-exceptions.phpt
-w build/failed-tests.txt -W build/test-results.txt tests/compiler
- name: Upload PHPT failure artifacts
if: failure()

Loading…
Cancel
Save