Skip to content

[3.x] doc: add example of a custom action #2040

[3.x] doc: add example of a custom action

[3.x] doc: add example of a custom action #2040

# OS: Linux; Symfony: latest stable; PHP: upcoming (still unreleased) version
name: "Tests - Upcoming PHP version"
on:
pull_request:
push:
branches:
- 'master'
env:
fail-fast: true
jobs:
tests:
runs-on: 'ubuntu-latest'
continue-on-error: true
steps:
- name: 'Checkout code'
uses: actions/[email protected]
- name: 'Install PHP with extensions'
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.2'
tools: composer:v2
extensions: mbstring, intl, pdo, pdo_sqlite, sqlite3
ini-values: date.timezone=UTC
- name: 'Install project dependencies'
env:
SYMFONY_REQUIRE: 5.4
run: |
composer global require --no-progress --no-scripts --no-plugins symfony/flex
composer update --no-interaction --prefer-dist --optimize-autoloader --prefer-stable --ignore-platform-req=php
vendor/bin/simple-phpunit install
- name: 'Run tests'
run: vendor/bin/simple-phpunit -v || exit 0