Skip to content

Commit

Permalink
Create laravel-8.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar authored Dec 1, 2021
1 parent c001b4e commit 48dbb46
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/laravel-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Laravel 8"
on: [ push ]

jobs:
laravel:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [ "7.3", "7.4", "8.0", "8.1" ]
laravel: [ "8.0" ]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
coverage: none
env:
COMPOSER_TOKEN: ${{ secrets.COMPOSER_TOKEN }}

- name: Install dependencies
run: |
composer require laravel/framework:^${{ matrix.laravel }}
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
- name: Execute tests
run: sudo vendor/bin/phpunit

0 comments on commit 48dbb46

Please sign in to comment.