Skip to content

Erlaube Symfony 7-Komponenten (Case 168707) #66

Erlaube Symfony 7-Komponenten (Case 168707)

Erlaube Symfony 7-Komponenten (Case 168707) #66

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
env:
APP_ENV: test
TEMP: ${{ github.workspace }}/tmp
SYMFONY_DEPRECATIONS_HELPER: weak
jobs:
PHPUnit:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- { php-version: 7.2, symfony-locked-version: none, dependency-version: prefer-lowest }
- { php-version: 7.4, symfony-locked-version: 4.4.*, dependency-version: prefer-stable }
- { php-version: 7.4, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-stable }
name: PHPUnit (PHP ${{matrix.php-version}}, Symfony Version Lock ${{ matrix.symfony-locked-version }}, ${{ matrix.dependency-version }})
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
- uses: actions/checkout@v3
- run: VERSION=${{ matrix.symfony-locked-version }} .github/workflows/lock-symfony-version.sh
if: matrix.symfony-locked-version != 'none'
- uses: actions/cache@v3
with:
path: vendor
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.symfony-locked-version }}-${{ matrix.dependency-version }}-${{ hashFiles('composer.json') }}
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.symfony-locked-version }}-${{ matrix.dependency-version }}-
- run: |
composer install --no-interaction --no-progress --ansi --no-scripts
composer show
- run: vendor/bin/phpunit