Build #53
This file contains hidden or 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: 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: ["^6.4", "^7.0"] | |
| exclude: | |
| - php: "8.1" | |
| symfony: "^7.0" | |
| include: | |
| - php: "7.4" | |
| symfony: "^5.4" | |
| - php: "8.0" | |
| symfony: "^5.4" | |
| steps: | |
| - | |
| uses: actions/checkout@v4 | |
| - | |
| name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: "${{ matrix.php }}" | |
| coverage: none | |
| - | |
| name: Restrict Symfony version | |
| if: matrix.symfony != '' | |
| run: composer config extra.symfony.require "${{ matrix.symfony }}" | |
| - | |
| name: Install dependencies | |
| run: composer update | |
| - | |
| name: Run analysis | |
| run: composer analyse | |
| - | |
| name: Run Behat | |
| run: vendor/bin/behat -f progress --strict -vvv --no-interaction --colors |