Skip to content

30.0.0

30.0.0 #1678

Workflow file for this run

name: Integration
on:
pull_request:
push:
branches:
- master
- production
jobs:
integration:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0']
name: php
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ matrix.php-versions }}
coverage: none
- name: Install composer
run: composer install
- name: Start webserver
run: php -S localhost:8888 index.php &
- 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