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+ version : 2
2+ updates :
3+ - package-ecosystem : composer
4+ directory : " /"
5+ schedule :
6+ interval : monthly
7+ open-pull-requests-limit : 10
8+ versioning-strategy : increase
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ tests :
7+ name : Tests PHP ${{ matrix.php }}
8+ runs-on : ubuntu-latest
9+ continue-on-error : ${{ matrix.experimental }}
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ php : [7.3, 7.4, 8.0]
14+ experimental : [false]
15+ include :
16+ - php : 8.0
17+ analysis : true
18+ - php : 8.1
19+ experimental : true
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v2
24+
25+ - name : Set up PHP ${{ matrix.php }}
26+ uses : shivammathur/setup-php@v2
27+ with :
28+ php-version : ${{ matrix.php }}
29+ coverage : xdebug
30+
31+ - name : Install dependencies with Composer
32+ uses : ramsey/composer-install@v1
33+
34+ - name : Coding standards
35+ if : matrix.analysis
36+ run : vendor/bin/phpcs
37+
38+ - name : Tests
39+ run : vendor/bin/phpunit --coverage-clover clover.xml
Original file line number Diff line number Diff line change 2828 }
2929 },
3030 "require-dev" : {
31- "phpunit/phpunit" : " ^8.0 " ,
32- "slim/psr7" : " ^1" ,
31+ "phpunit/phpunit" : " ^9.5.10 " ,
32+ "slim/psr7" : " ^1.3.0 " ,
3333 "squizlabs/php_codesniffer" : " ^3.5"
3434 },
3535 "scripts" : {
You can’t perform that action at this time.
0 commit comments