Fixed the logic to get the field name #20
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
# OS: Linux; Symfony: the upcoming Symfony version (still in 'dev' or 'beta' or 'RC'); PHP: latest stable | |
name: "Tests - Upcoming Symfony version" | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
env: | |
fail-fast: true | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
name: "Symfony ${{ matrix.symfony-version }} / PHP ${{ matrix.php-version }}" | |
runs-on: 'ubuntu-latest' | |
continue-on-error: true | |
strategy: | |
matrix: | |
php-version: ['8.1'] | |
symfony-version: ['6.3'] | |
steps: | |
- name: 'Checkout code' | |
uses: actions/checkout@v3 | |
- name: 'Install PHP with extensions' | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
php-version: ${{ matrix.php-version }} | |
tools: composer:v2 | |
extensions: mbstring, intl, pdo, pdo_sqlite, sqlite3 | |
ini-values: date.timezone=UTC | |
- name: 'Install project dependencies' | |
run: | | |
composer require --no-progress --no-scripts --no-plugins symfony/flex | |
composer config extra.symfony.require "${{ matrix.symfony-version }}" | |
composer update --no-interaction --prefer-dist --optimize-autoloader || exit 0 | |
vendor/bin/simple-phpunit install || exit 0 | |
- name: 'Run tests' | |
env: | |
SYMFONY_DEPRECATIONS_HELPER: 'max[total]=999999' | |
run: vendor/bin/simple-phpunit -v || exit 0 |