ci: narrow class cache debugging workflow

master
韩天峰 1 week ago
parent 2d14c9e432
commit a6cc11c6d7
  1. 19
      .github/workflows/tests.yml

@ -24,7 +24,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php: ["8.4", "8.5"] php: ["8.5"]
env: env:
PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx
@ -94,13 +94,15 @@ jobs:
phpunit: phpunit:
name: PHPUnit (PHP ${{ matrix.php }}) name: PHPUnit (PHP ${{ matrix.php }})
# Temporary: keep the class-id cache investigation focused on PHPT.
if: ${{ false }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
needs: build-phpx needs: build-phpx
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php: ["8.4", "8.5"] php: ["8.5"]
env: env:
PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx
@ -164,7 +166,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php: ["8.4", "8.5"] php: ["8.5"]
env: env:
PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx PHPX_HOME: ${{ github.workspace }}/vendor/swoole/phpx
NO_INTERACTION: 1 NO_INTERACTION: 1
@ -265,7 +267,16 @@ jobs:
run: | run: |
mkdir -p build mkdir -p build
php run-tests.php -q -j8 --compiler ./tpc \ php run-tests.php -q -j8 --compiler ./tpc \
-w build/failed-tests.txt -W build/test-results.txt tests/compiler -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
- name: Upload PHPT failure artifacts - name: Upload PHPT failure artifacts
if: failure() if: failure()

Loading…
Cancel
Save