Skip to content

Commit 3e4dd3c

Browse files
authored
Merge pull request #23 from williamdes/ci
Add php 8.1 and remove composer deprecated option
2 parents 4076487 + d5c1a82 commit 3e4dd3c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ jobs:
1414
name: Tests - PHP ${{ matrix.php }} ${{ matrix.dependency-version }}
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 15
17+
continue-on-error: ${{ matrix.experimental }}
1718
strategy:
1819
matrix:
1920
php: [ '7.2', '7.3', '7.4', '8.0' ]
2021
dependency-version: [ '' ]
22+
experimental: [ false ]
2123
include:
2224
- php: '7.2'
2325
dependency-version: '--prefer-lowest'
26+
include:
27+
- php: '8.1'
28+
dependency-version: ''
29+
experimental: true
2430
steps:
2531
- name: Checkout
2632
uses: actions/checkout@v2
@@ -37,7 +43,7 @@ jobs:
3743
key: php-${{ matrix.php }}-composer-locked-${{ hashFiles('composer.lock') }}
3844
restore-keys: php-${{ matrix.php }}-composer-locked-
3945
- name: Install PHP dependencies
40-
run: composer update ${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress --no-suggest
46+
run: composer update ${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress
4147
- name: PHPUnit
4248
run: vendor/bin/phpunit
4349

@@ -60,6 +66,6 @@ jobs:
6066
key: php-74-composer-locked-${{ hashFiles('composer.lock') }}
6167
restore-keys: php-74-composer-locked-
6268
- name: Install PHP dependencies
63-
run: composer install --no-interaction --no-progress --no-suggest
69+
run: composer install --no-interaction --no-progress
6470
- name: PHP CodeSniffer
6571
run: vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr

0 commit comments

Comments
 (0)