Skip to content

Commit

Permalink
fix matrix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pvsaintpe committed May 2, 2024
1 parent 0cd4463 commit df487e8
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:

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

jobs:
Expand All @@ -14,17 +14,17 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
operating_system:
- ubuntu-latest
php_versions:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
operating_system: [ubuntu-latest]
php_versions: ['8.3']
experimental: [false]
include:
- operating_system: 'ubuntu-latest'
php_versions: '8.4'
experimental: true
fail-fast: false
env:
PHP_CS_FIXER_FUTURE_MODE: '0'
name: 'Lint PHP'
name: 'Linter PHP'
steps:
- name: 'Checkout'
uses: actions/checkout@v2
Expand Down Expand Up @@ -54,7 +54,9 @@ jobs:
- name: 'Setup problem matchers for PHPUnit'
run: 'echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"'
- name: 'Install PHP dependencies with Composer'
continue-on-error: ${{ matrix.experimental }}
run: composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
working-directory: './'
- name: 'Linting PHP source files'
continue-on-error: ${{ matrix.experimental }}
run: 'vendor/bin/ecs check --config=ecs.php .'

0 comments on commit df487e8

Please sign in to comment.