Deaktiviere XDebug in GitHub Actions (Case 168925) (#16) #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
SYMFONY_DEPRECATIONS_HELPER: weak | |
jobs: | |
PHPUnit: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { php-version: 7.2, dependency-version: prefer-lowest } | |
- { php-version: 7.4, dependency-version: prefer-stable } | |
- { php-version: 8.1, dependency-version: prefer-stable } | |
name: PHPUnit (PHP ${{matrix.php-version}}, ${{ matrix.dependency-version }}) | |
steps: | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: none | |
tools: composer:v2 | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: vendor | |
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ hashFiles('composer.json') }} | |
restore-keys: | | |
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.dependency-version }}- | |
- run: | | |
composer update --no-interaction --no-progress --ansi --no-scripts --${{ matrix.dependency-version}} | |
composer show | |
- run: vendor/bin/phpunit |