This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
Bump fsevents from 1.0.17 to 1.2.13 (#30) #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
phpunit: | |
name: Tests PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [7.4, 8.0] | |
laravel: ["8.*"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Cache dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ~/.composer/cache/files | |
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: dom, curl, libxml, mbstring, zip | |
coverage: none | |
- name: Install dependencies | |
run: composer require "illuminate/contracts:${{ matrix.laravel }}" --prefer-dist --no-interaction | |
- name: Run Testsuite | |
run: ./vendor/bin/phpunit |