Updating documentation. #91
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: Testing Laravel Package | |
on: [push, pull_request] | |
jobs: | |
laravel: | |
name: Laravel Package (PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}) | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['7.2'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup PHP, with composer and extensions | |
uses: shivammathur/setup-php@v1 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Install Composer dependencies | |
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader | |
- name: Check styling with PHP CS Fixer | |
uses: StephaneBour/[email protected] | |
- name: Test with phpunit | |
run: vendor/bin/phpunit --coverage-text |