File tree Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ tests :
7+ runs-on : ubuntu-latest
8+
9+ strategy :
10+ matrix :
11+ php : [8.0, 8.1]
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v2
16+
17+ - name : Setup PHP
18+ uses : shivammathur/setup-php@v2
19+ with :
20+ php-version : ${{ matrix.php }}
21+ tools : phpcs, phpstan
22+
23+ - name : Validate composer.json
24+ run : composer validate
25+
26+ - name : Install dependencies
27+ run : composer install
28+
29+ - name : Code style
30+ run : phpcs src/
31+
32+ - name : Static analysis
33+ run : phpstan analyze --level=8 src/
Original file line number Diff line number Diff line change 1616 "php" : " ^8.0" ,
1717 "ext-dom" : " *" ,
1818 "codeception/lib-web" : " ^1.0" ,
19+ "phpunit/phpunit" : " ^9.5 | ^10.0" ,
1920 "symfony/css-selector" : " >=4.4.24 <7.0"
2021 },
21- "require-dev" : {
22- "phpunit/phpunit" : " ^9.5 | ^10.0"
23- },
2422 "conflict" : {
2523 "codeception/codeception" : " <5.0.0-alpha3"
2624 },
You can’t perform that action at this time.
0 commit comments