Skip to content

Drop PHP7.4 & rework CI #230

Drop PHP7.4 & rework CI

Drop PHP7.4 & rework CI #230

Workflow file for this run

name: PHPUnit
on:
push:
pull_request:
jobs:
tests:
name: Tests
runs-on: Ubuntu-20.04
strategy:
matrix:
include:
# Lowest Deps
- php: 8.0
symfony-require: 5.4.*
can-fail: false
# LTS with latest stable PHP
- php: latest
symfony-require: 6.4.*
can-fail: false
# Active release
- php: latest
symfony-require: 7.0.*
can-fail: false
# Development release
- php: nightly
symfony-require: 7.1.*@dev
stability: dev
can-fail: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Configure Composer minimum stability
if: matrix.stability
run: composer config minimum-stability ${{ matrix.stability }}
- name: Install dependencies
env:
SYMFONY_REQUIRE: ${{ matrix.symfony-require }}
run: composer update --prefer-dist
- name: Run PHPUnit
run: vendor/bin/phpunit