File tree Expand file tree Collapse file tree 2 files changed +43
-29
lines changed Expand file tree Collapse file tree 2 files changed +43
-29
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+
9+ jobs :
10+ test :
11+ name : ' PHP ${{ matrix.php-version }} ${{ matrix.dependencies }}'
12+ runs-on : ubuntu-20.04
13+ env :
14+ SYMFONY_DEPRECATIONS_HELPER : weak
15+
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ include :
20+ - php-version : ' 7.2'
21+ dependencies : ' lowest'
22+ - php-version : ' 7.3'
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