Skip to content

Commit

Permalink
chore: improve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Sep 26, 2022
1 parent 4d0167b commit 437058f
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,31 @@ on:

jobs:
tests:
name: Tests PHP ${{ matrix.php }} ${{ matrix.dependency }} (Symfony ${{ matrix.symfony }})
name: Tests PHP ${{ matrix.php }} (Symfony ${{ matrix.symfony }})
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
symfony:
- '4.4.*'
- '5.4.*'
- '6.0.*'
dependency:
- ''
- '--prefer-lowest'
exclude:
- symfony: '6.0.*'
php: '7.3'
- symfony: '6.0.*'
php: '7.4'
- symfony: '5.4.*'
dependency: '--prefer-lowest'
- symfony: '6.0.*'
dependency: '--prefer-lowest'
- '6.1.*'
include:
- php: '7.4'
dependency: ''
symfony: '5.4.*'
bootable: true
- php: '8.1'
dependency: ''
symfony: '6.0.*'
symfony: '6.1.*'
coverage: '--coverage-clover build/logs/phpunit/clover.xml'
bootable: true
quality: true
exclude:
# Symfony 6.1 requires PHP 8.1
- php: '7.4'
symfony: '6.1.*'
fail-fast: false
steps:
- name: Checkout
Expand Down Expand Up @@ -80,7 +69,7 @@ jobs:
run: composer config extra.symfony.require "${{ matrix.symfony }}"

- name: Update project dependencies
run: composer update --no-progress --ansi --prefer-stable ${{ matrix.dependency }}
run: composer update --no-progress --ansi --prefer-stable

- name: Bundle is bootable
if: matrix.bootable && github.event_name == 'push'
Expand Down

0 comments on commit 437058f

Please sign in to comment.