32.0.2, 31.0.11 #2172
Workflow file for this run
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: Integration | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| - production | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-versions: ['8.1', '8.2'] | |
| name: php | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Set up php ${{ matrix.php-versions }} | |
| uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| coverage: none | |
| - name: Install composer | |
| run: composer install | |
| - name: Start webserver | |
| run: php -S localhost:8888 & | |
| - name: Run behat | |
| run: cd tests/integration && ../../vendor/bin/behat --colors . | |
| summary: | |
| runs-on: ubuntu-latest | |
| needs: integration | |
| if: always() | |
| name: integration-summary | |
| steps: | |
| - name: Summary status | |
| run: if ${{ needs.integration.result != 'success' && needs.integration.result != 'skipped' }}; then exit 1; fi |