File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,17 @@ jobs:
2323 php-version : ${{ matrix.php-version }}
2424 extensions : gmp, xdebug
2525 coverage : xdebug
26-
26+
2727 - name : Install dependencies
28- run : composer install --prefer-dist --no-progress
28+ run : composer self-update && composer install && composer dump-autoload
2929
3030 - name : Run PHPStan
31- run : composer stan
32-
33- - name : Run tests with coverage
34- run : composer coverage
31+ run : vendor/bin/phpstan --no-progress
3532
33+ - name : Run tests and collect coverage
34+ run : vendor/bin/phpunit --coverage-clover coverage.xml .
35+
3636 - name : Upload coverage to Codecov
37- uses : codecov/codecov-action@v3
38- with :
39- file : ./coverage.xml
40- fail_ci_if_error : true
37+ uses : codecov/codecov-action@v5
38+ env :
39+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments