File tree 5 files changed +36
-42
lines changed
5 files changed +36
-42
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ - push
4
+ - pull_request
5
+ jobs :
6
+ build :
7
+ strategy :
8
+ matrix :
9
+ dependencies :
10
+ - highest
11
+ - lowest
12
+ php-versions :
13
+ - 7.3
14
+ - 7.4
15
+ - 8.0
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@v2
20
+
21
+ - name : Setup PHP, with composer and extensions
22
+ uses : shivammathur/setup-php@v2
23
+ with :
24
+ php-version : ${{ matrix.php-versions }}
25
+
26
+ - name : Install dependencies with Composer
27
+ uses : ramsey/composer-install@v1
28
+ with :
29
+ dependency-versions : ${{ matrix.dependencies }}
30
+
31
+ - name : Run unit tests
32
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 1
1
/vendor /
2
2
composer.lock
3
- infection.log
4
3
.phpunit.result.cache
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
" psr-11"
13
13
],
14
14
"require" : {
15
- "php" : " ^7.2 " ,
15
+ "php" : " ^7.3 || ^8.0 " ,
16
16
"maximebf/debugbar" : " ^1.4" ,
17
17
"psr/http-server-handler" : " ^1.0" ,
18
18
"psr/http-server-middleware" : " ^1.0" ,
22
22
"psr/http-factory-implementation" : " ^1.0"
23
23
},
24
24
"require-dev" : {
25
- "phpunit/phpunit" : " ^8.5.4 || ^ 9.1.4" ,
26
- "mikey179/vfsStream " : " ^1.6.8" ,
25
+ "phpunit/phpunit" : " ^9.1.4" ,
26
+ "mikey179/vfsstream " : " ^1.6.8" ,
27
27
"slim/slim" : " ^3.0" ,
28
28
"mezzio/mezzio" : " ^3.0" ,
29
29
"mezzio/mezzio-fastroute" : " ^3.0.1" ,
30
30
"laminas/laminas-servicemanager" : " ^3.3.2" ,
31
- "laminas/laminas-diactoros" : " ^2.0" ,
32
- "infection/infection" : " ^0.13.3"
31
+ "laminas/laminas-diactoros" : " ^2.0"
33
32
},
34
33
"autoload" : {
35
34
"psr-4" : {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments