File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 3434 uses : shivammathur/setup-php@v2
3535 with :
3636 php-version : ${{ matrix.php-version }}
37- coverage : xdebug
37+ coverage : pcov
3838
3939 - name : Install composer dependencies
4040 uses : ramsey/composer-install@v3
@@ -46,15 +46,13 @@ jobs:
4646 if : ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
4747
4848 - name : Run PHPUnit with coverage
49- run : |
50- mkdir -p mkdir -p build/logs
51- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
49+ run : vendor/bin/phpunit --coverage-clover clover.xml
5250 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
5351
54- - name : Upload coverage report to Coveralls
55- run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
52+ - name : Upload coverage to Codecov
53+ uses : codecov/codecov-action@v5
5654 env :
57- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
5856 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
5957
6058 psalm :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Brick\DateTime
66A powerful set of immutable classes to work with dates and times.
77
88[ ![ Build Status] ( https://github.com/brick/date-time/workflows/Tests/badge.svg )] ( https://github.com/brick/date-time/actions )
9- [ ![ Coverage Status] ( https://coveralls .io/repos/ github/brick/date-time/badge.svg?branch=master )] ( https://coveralls .io/github/brick/date-time?branch=master )
9+ [ ![ Coverage Status] ( https://codecov .io/github/brick/date-time/graph/ badge.svg )] ( https://codecov .io/github/brick/date-time )
1010[ ![ Latest Stable Version] ( https://poser.pugx.org/brick/date-time/v/stable )] ( https://packagist.org/packages/brick/date-time )
1111[ ![ Total Downloads] ( https://poser.pugx.org/brick/date-time/downloads )] ( https://packagist.org/packages/brick/date-time )
1212[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( http://opensource.org/licenses/MIT )
Original file line number Diff line number Diff line change 3232 },
3333 "require-dev" : {
3434 "phpunit/phpunit" : " ^11.0" ,
35- "php-coveralls/php-coveralls" : " ^2.2" ,
3635 "guzzlehttp/guzzle" : " ^7.0"
3736 },
3837 "suggest" : {
You can’t perform that action at this time.
0 commit comments