Skip to content

Commit

Permalink
Add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Dec 3, 2023
1 parent b7ab4db commit b753d57
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }}
runs-on: ubuntu-latest

env:
SYMFONY_REQUIRE: ${{matrix.symfony-require}}

strategy:
matrix:
php-version:
Expand All @@ -19,9 +22,13 @@ jobs:
- 8.2
- 8.3
dependencies: [highest]
symfony-require: ['']
include:
- php-version: 8.0
dependencies: lowest
- php-version: '8.2'
dependencies: highest
symfony-require: 7.0.*

steps:
- name: Checkout
Expand All @@ -35,6 +42,13 @@ jobs:
tools: composer:v2
ini-file: development

- name: Globally install symfony/flex
if: matrix.symfony-require != ''
run: |
composer config minimum-stability dev
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins symfony/flex
- name: Install Composer dependencies ${{ matrix.dependencies }}
uses: ramsey/composer-install@v2
with:
Expand Down

0 comments on commit b753d57

Please sign in to comment.