File tree Expand file tree Collapse file tree 2 files changed +41
-43
lines changed Expand file tree Collapse file tree 2 files changed +41
-43
lines changed Original file line number Diff line number Diff line change
1
+ name : Run Tests
2
+ on : [push]
3
+
4
+ jobs :
5
+ run :
6
+ runs-on : ubuntu-latest
7
+ strategy :
8
+ max-parallel : 15
9
+ fail-fast : false
10
+ matrix :
11
+ php-versions : ["7.1", "7.2", "7.3", "7.4"]
12
+ composer-flags : ["--prefer-lowest", "--prefer-stable"]
13
+ env :
14
+ - LARAVEL_VERSION='~5.5'
15
+ - LARAVEL_VERSION='~5.6'
16
+ - LARAVEL_VERSION='~5.7'
17
+ - LARAVEL_VERSION='~5.8'
18
+ - LARAVEL_VERSION='^6.0'
19
+ - LARAVEL_VERSION='^7.0'
20
+ exclude :
21
+ - php-versions : 7.1
22
+ env : LARAVEL_VERSION='^6.0'
23
+ - php-versions : 7.1
24
+ env : LARAVEL_VERSION='^7.0'
25
+ name : Test on PHP ${{ matrix.php-versions }}, Laravel ${{ matrix.laravel-versions }} and ${{ matrix.composer-flags }}
26
+ steps :
27
+ - name : Checkout
28
+ uses : actions/checkout@master
29
+ - name : Install PHP
30
+ uses : shivammathur/setup-php@master
31
+ with :
32
+ php-version : ${{ matrix.php-versions }}
33
+ - name : Install Dependencies
34
+ run : |
35
+ ${{ matrix.env }}
36
+ composer config discard-changes true
37
+ composer self-update
38
+ composer require --dev "laravel/framework:${LARAVEL_VERSION}" --no-interaction --no-update
39
+ composer update ${{ matrix.composer-flags }} --prefer-dist --no-suggest --no-interaction
40
+ - name : Run PHPUnit
41
+ run : php vendor/bin/phpunit
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments