Fix phpUnit test #9
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: lowest supported by this bundle; PHP: lowest supported by this bundle | |
name: "Tests - Lowest supported dependencies" | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
env: | |
fail-fast: true | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: 'ubuntu-latest' | |
continue-on-error: false | |
strategy: | |
matrix: | |
php-version: ['8.0'] | |
steps: | |
- name: 'Checkout code' | |
uses: actions/checkout@v4 | |
- 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 update --no-interaction --prefer-dist --optimize-autoloader --prefer-stable --prefer-lowest | |
vendor/bin/simple-phpunit install | |
- name: 'Run tests' | |
env: | |
SYMFONY_DEPRECATIONS_HELPER: 'max[indirect]=10&max[total]=27' | |
run: vendor/bin/simple-phpunit -v |