Skip to content

v1.3.1

v1.3.1 #52

Workflow file for this run

name: Build
on:
push: ~
pull_request: ~
release:
types: [created]
schedule:
-
cron: "0 1 * * 6" # Run at 1am every Saturday
jobs:
tests:
runs-on: ubuntu-latest
name: "PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}"
strategy:
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3"]
symfony: ["5.4.*", "6.4.*", "7.0.*"]
exclude:
- symfony: "7.0.*"
php: "8.1"
steps:
-
uses: actions/checkout@v2
-
name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
coverage: none
-
name: Restrict Symfony version
if: matrix.symfony != ''
run: |
composer global require --no-progress --no-scripts --no-plugins "symfony/flex"
composer config extra.symfony.require "${{ matrix.symfony }}"
composer config minimum-stability "dev"
composer config prefer-stable true
-
name: Install dependencies
run: composer update
-
name: Composer validate
run: composer validate --strict --ansi
-
name: Run Psalm
run: vendor/bin/psalm src --no-progress --php-version="${{ matrix.php }}"
-
name: Run tests
run: vendor/bin/behat -f progress --strict -vvv --no-interaction --colors