Skip to content

Allow glide 3 and update testsuite #22

Allow glide 3 and update testsuite

Allow glide 3 and update testsuite #22

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Unit Tests

Invalid workflow file

The workflow is not valid. .github/workflows/unit-tests.yaml (Line: 18, Col: 21): Matrix exclude key 'php' does not match any key within the matrix .github/workflows/unit-tests.yaml (Line: 19, Col: 21): Matrix exclude key 'symfony' does not match any key within the matrix
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