mirror of
https://github.com/php/phd.git
synced 2026-04-29 01:43:11 +02:00
0e43594305
This reverts commit c65199393a.
25 lines
703 B
YAML
25 lines
703 B
YAML
name: Test
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
name: test
|
|
strategy:
|
|
matrix:
|
|
version: ['8.1', '8.2', '8.3', '8.4', '8.5']
|
|
continue-on-error: ${{ matrix.version == '8.5' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout PhD
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{matrix.version}}
|
|
|
|
- name: Get run-test.php
|
|
run: wget https://raw.githubusercontent.com/php/php-src/master/run-tests.php
|
|
|
|
- name: Run tests
|
|
run: php run-tests.php -P -q --no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,BORK,LEAK,XLEAK tests/
|