Skip to content

Commit 76a7d28

Browse files
committed
Try Nightly Again
1 parent 2bb935a commit 76a7d28

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

.github/workflows/php.yml

Lines changed: 29 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
@@ -80,6 +97,10 @@ jobs:
8097

8198
- uses: actions/checkout@v2
8299

100+
- name: Composer Config nightly
101+
if: matrix.php == 'nightly'
102+
run: composer config platform.php 8.4.99
103+
83104
- name: Composer Install
84105
run: composer install --ansi --prefer-dist --no-interaction --no-progress
85106

@@ -95,6 +116,12 @@ jobs:
95116
if: matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'
96117
run: ./vendor/bin/phpunit -c phpunit10.xml.dist --no-coverage
97118

119+
- name: Run phpunit nightly experimental
120+
if: matrix.php == 'nightly'
121+
env:
122+
FAILURE_ACTION: "${{ matrix.experimental == true }}"
123+
run: ./vendor/bin/phpunit -c phpunit10.xml.dist --no-coverage
124+
98125
- name: Run phpunit 7.3
99126
if: matrix.php == '7.3'
100127
run: ./vendor/bin/phpunit -c phpunit9.xml.dist --coverage-clover build/clover.xml

0 commit comments

Comments
 (0)