Skip to content

Merge pull request #20 from laravel-shift/l11-compatibility #42

Merge pull request #20 from laravel-shift/l11-compatibility

Merge pull request #20 from laravel-shift/l11-compatibility #42

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
phpunit:
name: PHPUnit
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php-version: 8.0
composer-flags: --prefer-stable --prefer-lowest
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
- name: "Install dependencies (lowest dependencies) with composer"
run: |
composer update ${{ matrix.composer-flags }} --no-interaction --no-progress --no-suggest
- name: "Run tests with phpunit/phpunit"
run: vendor/bin/phpunit
- name: "Run Psalm check"
run: vendor/bin/psalm --shepherd