Skip to content

cleanup branch alias and explicitly require legacy message-factory #50

cleanup branch alias and explicitly require legacy message-factory

cleanup branch alias and explicitly require legacy message-factory #50

Workflow file for this run

name: Tests
on:
push:
branches:
- '[0-9]+.x'
- '[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.x'
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
max-parallel: 10
matrix:
php: [ '7.3', '7.4', '8.0', '8.1', '8.2']
steps:
- name: Set up PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
coverage: none
tools: flex
- name: Checkout code
uses: actions/checkout@v3
- name: Download dependencies
run: composer update --no-interaction --prefer-dist --optimize-autoloader --prefer-stable
- name: Start test server
run: ./vendor/bin/http_test_server > /dev/null 2>&1 &
- name: Run tests
run: composer test
lowest:
name: Lowest deps
runs-on: ubuntu-latest
steps:
- name: Set up PHP
uses: shivammathur/[email protected]
with:
php-version: 7.3
coverage: none
tools: flex
- name: Checkout code
uses: actions/checkout@v3
- name: Download dependencies
run: composer update --no-interaction --prefer-dist --optimize-autoloader --prefer-stable --prefer-lowest
- name: Start test server
run: ./vendor/bin/http_test_server > /dev/null 2>&1 &
- name: Run tests
run: ./vendor/bin/phpunit