Skip to content

Consistently use babdev_websocket_server for tag prefixes, no idea ho… #31

Consistently use babdev_websocket_server for tag prefixes, no idea ho…

Consistently use babdev_websocket_server for tag prefixes, no idea ho… #31

Workflow file for this run

name: 'Run Tests'
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.can-fail }}
strategy:
fail-fast: true
matrix:
php: ['8.2', '8.3']
symfony: ['6.4.*', '7.0.*@rc']
composer-flags: ['--prefer-stable']
can-fail: [false]
include:
- php: '8.2'
symfony: '6.4.*'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
name: "PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2,flex
extensions: curl, iconv, mbstring, zip
coverage: none
- name: Install dependencies
run: |
composer update ${{ matrix.composer-flags }} --prefer-dist --no-suggest
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}
- name: Execute tests
run: vendor/bin/phpunit