File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,13 +41,11 @@ jobs:
4141 if : ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
4242
4343 - name : Run PHPUnit with coverage
44- run : |
45- mkdir -p mkdir -p build/logs
46- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
44+ run : vendor/bin/phpunit --coverage-clover clover.xml
4745 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
4846
49- - name : Upload coverage report to Coveralls
50- run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
47+ - name : Upload coverage to Codecov
48+ uses : codecov/codecov-action@v5
5149 env :
52- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
5351 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
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+ < a href = " https://codecov .io/github/brick/std " >< img src = " https://codecov .io/github/brick/std/graph/badge.svg " ></ a >
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" : " ^9.0" ,
17- "php-coveralls/php-coveralls" : " ^2.2"
16+ "phpunit/phpunit" : " ^9.0"
1817 },
1918 "suggest" : {
2019 "ext-json" : " Required to use JsonEncoder and JsonDecoder"
You can’t perform that action at this time.
0 commit comments