Allow glide 3 and update testsuite #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Unit Tests" | ||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
jobs: | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php-version: [8.1, 8.2, 8.3, 8.4] | ||
symfony-version: [^5, ^6, ^7] | ||
glide-version: [^2, ^3] | ||
dependencies: [lowest, stable] | ||
exclude: | ||
- php: 8.1 | ||
Check failure on line 18 in .github/workflows/unit-tests.yaml
|
||
symfony: ^7 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-version }} | ||
- name: Install dependencies | ||
run: | | ||
composer require "symfony/http-foundation:${{ matrix.symfony-version }}" "league/glide:${{ matrix.glide-version }}" --no-interaction --no-update | ||
composer update --prefer-${{ matrix.dependencies }} --prefer-dist --no-interaction --no-suggest --with-all-dependencies | ||
- name: PHPUnit | ||
run: php vendor/bin/phpunit |