File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,11 @@ jobs:
7373 if : ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
7474
7575 - name : Run PHPUnit with coverage
76- run : |
77- mkdir -p mkdir -p build/logs
78- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
76+ run : vendor/bin/phpunit --coverage-clover clover.xml
7977 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
8078
81- - name : Upload coverage report to Coveralls
82- run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
79+ - name : Upload coverage to Codecov
80+ uses : codecov/codecov-action@v5
8381 env :
84- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
8583 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ This library is a foundation to read schema.org structured data in [brick/schema
88but may be used with other vocabularies.
99
1010[ ![ Build Status] ( https://github.com/brick/structured-data/workflows/CI/badge.svg )] ( https://github.com/brick/structured-data/actions )
11- [ ![ Coverage Status ] ( https://coveralls .io/repos/ github/brick/structured-data/badge.svg?branch=master )] ( https://coveralls .io/github/brick/structured-data?branch=master )
11+ < a href = " https://codecov .io/github/brick/structured-data " >< img src = " https://codecov .io/github/brick/structured-data/graph/badge.svg " ></ a >
1212[ ![ Latest Stable Version] ( https://poser.pugx.org/brick/structured-data/v/stable )] ( https://packagist.org/packages/brick/structured-data )
1313[ ![ Total Downloads] ( https://poser.pugx.org/brick/structured-data/downloads )] ( https://packagist.org/packages/brick/structured-data )
1414[ ![ 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 1919 },
2020 "require-dev" : {
2121 "phpunit/phpunit" : " ^8.0 || ^9.0" ,
22- "php-coveralls/php-coveralls" : " ^2.0" ,
2322 "vimeo/psalm" : " 6.12.0"
2423 },
2524 "autoload" : {
You can’t perform that action at this time.
0 commit comments