feat: bump doctrine/doctrine-fixtures-bundle 3 => 4 #387
Workflow file for this run
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
# .github/workflows/code_checks.yaml | |
name: Code_Checks | |
on: ["push", "pull_request"] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['8.2'] | |
stability: [ prefer-stable ] | |
symfony-version: ['7.1.*'] | |
include: | |
- php: '8.2' | |
symfony-version: 7.1.* | |
stability: prefer-lowest | |
- php: '8.3' | |
symfony-version: 7.1.* | |
stability: prefer-stable | |
- php: '8.4' | |
symfony-version: 7.1.* | |
stability: prefer-stable | |
name: PHP ${{ matrix.php }} - ${{ matrix.symfony-version }} - ${{ matrix.stability }} | |
steps: | |
# basically git clone | |
- uses: actions/checkout@v4 | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.composer/cache/files | |
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | |
# use PHP of specific version | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: pcov, curl, libxml, pcntl, pdo | |
coverage: pcov | |
- name: Install dependencies | |
env: | |
SYMFONY_REQUIRE: ${{ matrix.symfony-version }} | |
run: | | |
composer global config --no-plugins allow-plugins.symfony/flex true | |
composer global require --no-progress --no-scripts --no-plugins symfony/flex | |
composer update --no-interaction --prefer-dist | |
vendor/bin/simple-phpunit install | |
- name: Execute tests | |
env: | |
SYMFONY_DEPRECATIONS_HELPER: 'weak' | |
run: vendor/bin/phpunit | |
#cs: | |
#runs-on: ubuntu-latest | |
#steps: | |
#- uses: actions/checkout@v4 | |
#- uses: shivammathur/setup-php@v2 | |
#with: | |
#php-version: 8.3 | |
#coverage: none # disable xdebug, pcov | |
#- run: composer install --no-progress | |
#- run: composer cscheck | |
#phpstan: | |
#runs-on: ubuntu-latest | |
#steps: | |
#- uses: actions/checkout@v4 | |
#- uses: shivammathur/setup-php@v2 | |
#with: | |
#php-version: 8.3 | |
#coverage: none # disable xdebug, pcov | |
#- run: composer install --no-progress | |
#- run: composer phpstan |