2024-06-18 12:24:55 +03:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "*.*"
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
php-version:
|
|
|
|
- '8.1'
|
2024-06-18 12:56:39 +03:00
|
|
|
- '8.2'
|
2024-06-18 12:24:55 +03:00
|
|
|
symfony-version:
|
|
|
|
- '5.4.*'
|
2024-06-18 12:30:31 +03:00
|
|
|
- '6.4.*'
|
2024-06-18 12:24:55 +03:00
|
|
|
coverage: [ 'none' ]
|
|
|
|
steps:
|
|
|
|
- name: "Checkout"
|
|
|
|
uses: "actions/checkout@v2"
|
|
|
|
|
|
|
|
- name: "Install PHP"
|
|
|
|
uses: "shivammathur/setup-php@v2"
|
|
|
|
with:
|
|
|
|
tools: flex
|
|
|
|
php-version: "${{ matrix.php-version }}"
|
|
|
|
coverage: "${{ matrix.coverage }}"
|
|
|
|
|
|
|
|
- name: "Install dependencies"
|
|
|
|
uses: ramsey/composer-install@v2
|
|
|
|
env:
|
|
|
|
SYMFONY_REQUIRE: "${{ matrix.symfony-version }}"
|
|
|
|
|
|
|
|
- name: "Run tests"
|
|
|
|
run: make phpunit
|
|
|
|
env:
|
|
|
|
PHP_IMAGE_TAG: "${{ matrix.php-version }}"
|