Skip to content

Commit b7b30ac

Browse files
committed
See If I Can Run Nightly
1 parent 3bf1d9d commit b7b30ac

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

.github/workflows/php.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,29 @@ jobs:
6464
run: ./vendor/bin/phpstan analyse -c phpstan.neon.dist
6565

6666
phpunit:
67-
name: PHPUnit ${{ matrix.php }}
6867
runs-on: ubuntu-latest
6968
strategy:
7069
fail-fast: false
7170
matrix:
72-
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
71+
experimental:
72+
- false
73+
php:
74+
- '7.1'
75+
- '7.2'
76+
- '7.3'
77+
- '7.4'
78+
- '8.0'
79+
- '8.1'
80+
- '8.2'
81+
- '8.3'
82+
- '8.4'
83+
84+
include:
85+
- php: 'nightly'
86+
experimental: true
87+
88+
name: PHPUnit ${{ matrix.php }}
89+
7390
steps:
7491
- name: Setup PHP
7592
uses: shivammathur/setup-php@v2
@@ -95,6 +112,12 @@ jobs:
95112
if: matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'
96113
run: ./vendor/bin/phpunit -c phpunit10.xml.dist --no-coverage
97114

115+
- name: Run phpunit nightly experimental
116+
if: matrix.php == 'nightly'
117+
env:
118+
FAILURE_ACTION: "${{ matrix.experimental == true }}"
119+
run: ./vendor/bin/phpunit -c phpunit10.xml.dist --no-coverage
120+
98121
- name: Run phpunit 7.3
99122
if: matrix.php == '7.3'
100123
run: ./vendor/bin/phpunit -c phpunit9.xml.dist --coverage-clover build/clover.xml

0 commit comments

Comments
 (0)