Skip to content

Update symfony/http-foundation requirement from ^4.4 || ^5.3 || ^6.0 … #89

Update symfony/http-foundation requirement from ^4.4 || ^5.3 || ^6.0 …

Update symfony/http-foundation requirement from ^4.4 || ^5.3 || ^6.0 … #89

Workflow file for this run

name: Unit tests
on:
pull_request:
push:
defaults:
run:
shell: bash
jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php: '7.4'
mode: low-deps
- php: '7.4'
- php: '8.0'
mode: low-deps
- php: '8.0'
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: "intl, bcmath"
php-version: "${{ matrix.php }}"
- name: Validate composer.json and composer.lock
run: composer validate --strict --no-check-lock
- name: Install dependencies
run: |
composer update --prefer-dist --no-progress $([ '${{ matrix.mode }}' = low-deps ] && echo '--prefer-lowest')
- name: Run phpspec
run: |
php vendor/bin/phpspec run