File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Continuous Integration"
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ env :
8+ COMPOSER_FLAGS : " --no-interaction --prefer-dist"
9+
10+ jobs :
11+ tests :
12+ name : " CI"
13+
14+ runs-on : ubuntu-latest
15+
16+ strategy :
17+ matrix :
18+ php-version :
19+ - " 7.2"
20+ - " 7.3"
21+ - " 7.4"
22+ - " 8.0"
23+
24+ dependencies : [highest]
25+
26+ steps :
27+ - name : " Checkout"
28+ uses : " actions/checkout@v2"
29+
30+ - name : " Setup PHP"
31+ uses : " shivammathur/setup-php@v2"
32+ with :
33+ coverage : " none"
34+ php-version : " ${{ matrix.php-version }}"
35+
36+ - name : " Install dependencies"
37+ run : |
38+ composer update ${{ env.COMPOSER_FLAGS }}
39+
40+ - name : " Run tests"
41+ run : " composer exec phpunit -- --verbose"
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1313 }
1414 ],
1515 "require" : {
16- "psr/log" : " 1.* " ,
17- "php" : " >=5.3 .2"
16+ "psr/log" : " ^1.0.1 " ,
17+ "php" : " >=7 .2"
1818 },
1919 "require-dev" : {
20- "phpunit/phpunit" : " ^4.8.36 || ^5.7 || ^6 .5"
20+ "phpunit/phpunit" : " ^8 .5"
2121 },
2222 "autoload" : {
2323 "psr-0" : {
You can’t perform that action at this time.
0 commit comments