Skip to content

Update vendor constraints and test matrix #89

Update vendor constraints and test matrix

Update vendor constraints and test matrix #89

Workflow file for this run

name: "Automated Tests"
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
jobs:
phpunit:
name: "PHPUnit"
runs-on: "ubuntu-latest"
strategy:
matrix:
dbal-version:
- "3.8.*"
# - "4.0.*"
php-version:
- "8.1"
- "8.2"
- "8.3"
symfony-version:
- "5.4.*"
- "6.4.*"
- "7.0.*"
exclude:
- { php-version: "8.1", symfony-version: "7.0.*" }
# - { dbal-version: "4.0.*", symfony-version: "5.4.*" }
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP version from matrix"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
- name: "Validate composer.json and composer.lock"
run: "composer validate"
- name: "Require Doctrine DBAL and Symfony versions from matrix"
run: "composer require --ansi --no-interaction --no-progress --no-suggest --optimize-autoloader --prefer-dist doctrine/dbal:${{ matrix.dbal-version }} symfony/symfony:${{ matrix.symfony-version }}"
- name: "Run test suite"
run: "composer test"