Skip to content

Commit df487e8

Browse files
committed
fix matrix ci
1 parent 0cd4463 commit df487e8

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66

77
env:
8-
php_extensions: 'dom, iconv, intl, json, mbstring, opcache, pcntl, pcov, session, simplexml, xml, zip'
8+
php_extensions: 'dom, iconv, intl, json, mbstring, opcache, pcntl, pcov, session, simplexml, xml, zip, xdebug'
99
key: cache-v0.1
1010

1111
jobs:
@@ -14,17 +14,17 @@ jobs:
1414
timeout-minutes: 20
1515
strategy:
1616
matrix:
17-
operating_system:
18-
- ubuntu-latest
19-
php_versions:
20-
- '7.4'
21-
- '8.0'
22-
- '8.1'
23-
- '8.2'
17+
operating_system: [ubuntu-latest]
18+
php_versions: ['8.3']
19+
experimental: [false]
20+
include:
21+
- operating_system: 'ubuntu-latest'
22+
php_versions: '8.4'
23+
experimental: true
2424
fail-fast: false
2525
env:
2626
PHP_CS_FIXER_FUTURE_MODE: '0'
27-
name: 'Lint PHP'
27+
name: 'Linter PHP'
2828
steps:
2929
- name: 'Checkout'
3030
uses: actions/checkout@v2
@@ -54,7 +54,9 @@ jobs:
5454
- name: 'Setup problem matchers for PHPUnit'
5555
run: 'echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"'
5656
- name: 'Install PHP dependencies with Composer'
57+
continue-on-error: ${{ matrix.experimental }}
5758
run: composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
5859
working-directory: './'
5960
- name: 'Linting PHP source files'
61+
continue-on-error: ${{ matrix.experimental }}
6062
run: 'vendor/bin/ecs check --config=ecs.php .'

0 commit comments

Comments
 (0)