diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0206b7c..8b59798 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: run: ./tools/vendor/bin/roave-backward-compatibility-check --from=3.0.0 tests: - name: Tests + name: Tests ${{ matrix.symfony && format('(Symfony {0})', matrix.symfony) || '' }} runs-on: ${{ matrix.os }} @@ -94,6 +94,9 @@ jobs: codecov: - false + symfony: + - "" + include: - os: ubuntu-latest php-version: "8.0" @@ -119,6 +122,26 @@ jobs: codecov: true php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205 + - os: ubuntu-latest + php-version: "8.0" + dependencies: highest + symfony: "5" + + - os: ubuntu-latest + php-version: "8.1" + dependencies: highest + symfony: "6" + + - os: ubuntu-latest + php-version: "8.2" + dependencies: highest + symfony: "7" + + - os: ubuntu-latest + php-version: "8.5" + dependencies: highest + symfony: "8" + steps: - name: Checkout uses: actions/checkout@v2 @@ -167,6 +190,10 @@ jobs: if: matrix.dependencies == 'highest' run: composer update --no-ansi --no-interaction --no-progress + - name: Require Symfony ${{ matrix.symfony }} + if: matrix.symfony != '' + run: composer require --no-interaction --no-progress --with-all-dependencies symfony/console:^${{ matrix.symfony }} + - name: Run tests with phpunit run: composer unit