File tree Expand file tree Collapse file tree 2 files changed +43
-33
lines changed Expand file tree Collapse file tree 2 files changed +43
-33
lines changed Original file line number Diff line number Diff line change 1+ name : Test application
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - ' master'
8+ - ' [0-9]+.x'
9+ - ' [0-9]+.[0-9]+'
10+ - ' [0-9]+.[0-9]+.x'
11+
12+ jobs :
13+ test :
14+ name : ' PHP ${{ matrix.php-version }} ${{ matrix.dependencies}}'
15+ runs-on : ubuntu-20.04
16+
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ include :
21+ - php-version : ' 7.1'
22+ dependencies : ' lowest'
23+ - php-version : ' 7.4'
24+ - php-version : ' 8.0'
25+
26+ steps :
27+ - name : Checkout project
28+ uses : actions/checkout@v2
29+
30+ - name : Install and configure PHP
31+ uses : shivammathur/setup-php@v2
32+ with :
33+ php-version : ${{ matrix.php-version }}
34+ tools : ' composer:v2'
35+
36+ - name : Install dependencies with Composer
37+ uses : ramsey/composer-install@v1
38+ with :
39+ dependency-versions : ${{ matrix.dependencies }}
40+ composer-options : --prefer-dist
41+
42+ - name : Execute test cases
43+ run : vendor/bin/phpunit
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments