Update the changelog for 1.12.0 #112
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
name: CI | |
on: | |
push: | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
check_composer: | |
name: Check composer.json | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
php-version: '8.2' | |
- run: composer validate --strict --no-check-lock | |
static_analysis: | |
name: Static analysis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
php-version: '8.2' | |
- name: Install dependencies | |
run: composer update --ansi --no-progress --prefer-dist --no-interaction | |
- run: vendor/bin/phpstan analyze | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] | |
composer_flags: [ '' ] | |
minimum_stability: [ '' ] | |
symfony_deprecations_helper: [ '' ] | |
include: | |
- php: '7.2' | |
composer_flags: '--prefer-lowest --prefer-stable' | |
symfony_deprecations_helper: weak | |
- php: '8.2' | |
minimum_stability: dev | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: "xdebug" | |
php-version: "${{ matrix.php }}" | |
tools: composer | |
- name: Configure for minimum stability | |
if: "${{ matrix.minimum_stability == 'dev' }}" | |
run: composer config minimum-stability dev | |
- name: Install dependencies | |
run: composer update ${{ matrix.composer_flags }} | |
- name: Run tests | |
env: | |
SYMFONY_DEPRECATIONS_HELPER: "${{ matrix.symfony_deprecations_helper }}" | |
run: vendor/bin/phpunit -v --coverage-clover=coverage.xml | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: coverage.xml |