Skip to content

Merge branch 'release/0.3.0' #3

Merge branch 'release/0.3.0'

Merge branch 'release/0.3.0' #3

Workflow file for this run

name: CI-coverage
on:
push:
tags:
- '*.*.*'
jobs:
test:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ '8.1', '8.2' ]
php-unit-versions: [ '9.5', '10.2' ]
symfony-versions: [ '6.1', '6.3' ]
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} - PHPUnit ${{ matrix.php-unit-versions }}
steps:
- uses: actions/checkout@v3
- name: Cache Composer dependencies
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ matrix.symfony-versions }}-${{ hashFiles('**/composer.lock') }}
- name: Install Symfony
run: composer require symfony/framework-bundle:${{ matrix.symfony-versions }}
- name: composer
uses: php-actions/composer@v6
with:
php_version: ${{ matrix.php-versions }}
php_extensions: xdebug gd
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
with:
version: ${{ matrix.php-unit-versions }}
php_version: ${{ matrix.php-versions }}
php_extensions: xdebug gd
bootstrap: vendor/autoload.php
configuration: phpunit.xml.dist