Skip to content

Allow Symfony 8

Allow Symfony 8 #54

Workflow file for this run

name: ci
on:
pull_request:
types: [opened, synchronize]
jobs:
build:
strategy:
matrix:
php: ['8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
symfony: ['6.4.29', '7.4', '8.0']
exclude:
- php: 8.0
symfony: 6.4.29
- php: 8.0
symfony: 7.4
- php: 8.1
symfony: 7.4
- php: 8.0
symfony: 8.0
- php: 8.1
symfony: 8.0
- php: 8.2
symfony: 8.0
- php: 8.3
symfony: 8.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
coverage: none
- name: Setup Dependencies
run: composer require "symfony/symfony:${{ matrix.symfony }}" --no-update
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: run tests
run: ./vendor/bin/simple-phpunit
coverage:
strategy:
matrix:
php: ['8.3']
symfony: ['6.4.29']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
coverage: xdebug
- name: Setup Dependencies
run: composer require "symfony/symfony:${{ matrix.symfony }}" --no-update
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: run tests
run: ./vendor/bin/simple-phpunit
- name: Make code coverage badge
uses: timkrase/phpunit-coverage-badge@v1.2.1
with:
coverage_badge_path: output/coverage.svg
push_badge: false