File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed
Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request]
3+ on :
4+ pull_request :
45
56jobs :
67 tests :
1819 uses : shivammathur/setup-php@v2
1920 with :
2021 php-version : ${{ matrix.php }}
22+ tools : phpstan
2123
2224 - name : Validate composer.json and composer.lock
2325 run : composer validate
2729
2830 - name : Run test suite
2931 run : php vendor/bin/codecept run
32+
33+ - name : Execute PHPStan
34+ run : phpstan
Original file line number Diff line number Diff line change 99
1010 strategy :
1111 matrix :
12- php : [ 8.2, 8.3, 8.4 ]
12+ php : [8.2, 8.3, 8.4]
1313
1414 steps :
1515 - name : Checkout code
@@ -19,27 +19,20 @@ jobs:
1919 uses : shivammathur/setup-php@v2
2020 with :
2121 php-version : ${{ matrix.php }}
22- coverage : none
22+ tools : phpstan
2323
2424 - name : Validate composer.json and composer.lock
2525 run : composer validate
2626
2727 - name : Install dependencies
2828 run : composer install --prefer-dist --no-progress --no-interaction --no-suggest
2929
30- - name : Execute Code Sniffer
31- run : vendor/bin/phpcs
32-
33- - name : Execute PHP Stan
34- run : vendor/bin/phpstan
3530
3631 - name : Run test suite
37- run : |
38- php -S 127.0.0.1:8000 -t tests/data/app >/dev/null 2>&1 &
39- php -S 127.0.0.1:8010 -t tests/data/rest >/dev/null 2>&1 &
40- php vendor/bin/codecept run
41-
32+ run : php vendor/bin/codecept run
4233
34+ - name : Execute PHPStan
35+ run : phpstan
4336 release :
4437 name : Automated release
4538 needs :
You can’t perform that action at this time.
0 commit comments