File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11name : CI
2- on : [push, pull_request]
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
37jobs :
48 run :
59 strategy :
@@ -11,18 +15,23 @@ jobs:
1115 - php : ' 8.2'
1216 - php : ' 8.3'
1317 - php : ' 8.4'
18+
1419 runs-on : ubuntu-latest
1520 steps :
1621 - name : Checkout
1722 uses : actions/checkout@v4
23+
1824 - name : Set up PHP
1925 uses : shivammathur/setup-php@v2
2026 with :
2127 php-version : " ${{ matrix.php }}"
28+
2229 - name : Install dependencies
2330 run : composer self-update && composer install && composer dump-autoload
31+
2432 - name : Run tests and collect coverage
2533 run : vendor/bin/phpunit --coverage-clover coverage.xml .
34+
2635 - name : Upload coverage to Codecov
2736 uses : codecov/codecov-action@v4-beta
2837 env :
Original file line number Diff line number Diff line change 2929 "php" : " >=7.4" ,
3030 "ext-json" : " *" ,
3131 "ext-mbstring" : " *" ,
32- "laminas/laminas-diactoros" : " ^2 " ,
32+ "laminas/laminas-diactoros" : " ^3 " ,
3333 "miladrahimi/phpcontainer" : " ^5"
3434 },
3535 "require-dev" : {
You can’t perform that action at this time.
0 commit comments