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 @@ -70,13 +70,11 @@ jobs:
7070 if : ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
7171
7272 - name : Run PHPUnit with coverage
73- run : |
74- mkdir -p build/logs
75- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
73+ run : vendor/bin/phpunit --coverage-clover clover.xml
7674 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
7775
78- - name : Upload coverage report to Coveralls
79- run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
76+ - name : Upload coverage to Codecov
77+ uses : codecov/codecov-action@v5
8078 env :
81- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
8280 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
Original file line number Diff line number Diff line change 55Maps JSON data to strongly typed PHP DTOs.
66
77[ ![ Build Status] ( https://github.com/brick/json-mapper/workflows/CI/badge.svg )] ( https://github.com/brick/json-mapper/actions )
8- [ ![ Coverage Status] ( https://coveralls .io/repos/ github/brick/json-mapper/badge.svg?branch=main )] ( https://coveralls .io/github/brick/json-mapper?branch=main )
8+ [ ![ Coverage Status] ( https://codecov .io/github/brick/json-mapper/graph/ badge.svg )] ( https://codecov .io/github/brick/json-mapper )
99[ ![ Latest Stable Version] ( https://poser.pugx.org/brick/json-mapper/v/stable )] ( https://packagist.org/packages/brick/json-mapper )
1010[ ![ Total Downloads] ( https://poser.pugx.org/brick/json-mapper/downloads )] ( https://packagist.org/packages/brick/json-mapper )
1111[ ![ 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 1414 "brick/reflection" : " ~0.7.0"
1515 },
1616 "require-dev" : {
17- "php-coveralls/php-coveralls" : " ^2.5" ,
1817 "phpunit/phpunit" : " ^11.0" ,
1918 "vimeo/psalm" : " 6.14.3"
2019 },
You can’t perform that action at this time.
0 commit comments