File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,15 +39,13 @@ jobs:
3939 if : ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
4040
4141 - name : Run PHPUnit with coverage
42- run : |
43- mkdir -p mkdir -p build/logs
44- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
42+ run : vendor/bin/phpunit --coverage-clover clover.xml
4543 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
4644
47- - name : Upload coverage report to Coveralls
48- run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
45+ - name : Upload coverage to Codecov
46+ uses : codecov/codecov-action@v5
4947 env :
50- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
5149 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
5250
5351 coding-standard :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Brick\Std
66An attempt at a standard library for PHP.
77
88[ ![ Build Status] ( https://github.com/brick/std/workflows/CI/badge.svg )] ( https://github.com/brick/std/actions )
9- [ ![ Coverage Status] ( https://coveralls .io/repos/ github/brick/std/badge.svg?branch=master )] ( https://coveralls .io/github/brick/std?branch=master )
9+ [ ![ Coverage Status] ( https://codecov .io/github/brick/std/graph/ badge.svg )] ( https://codecov .io/github/brick/std )
1010[ ![ Latest Stable Version] ( https://poser.pugx.org/brick/std/v/stable )] ( https://packagist.org/packages/brick/std )
1111[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( http://opensource.org/licenses/MIT )
1212
Original file line number Diff line number Diff line change 1313 "require-dev" : {
1414 "ext-curl" : " *" ,
1515 "ext-json" : " *" ,
16- "phpunit/phpunit" : " ^11.5" ,
17- "php-coveralls/php-coveralls" : " ^2.2"
16+ "phpunit/phpunit" : " ^11.5"
1817 },
1918 "suggest" : {
2019 "ext-json" : " Required to use JsonEncoder and JsonDecoder"
You can’t perform that action at this time.
0 commit comments