File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,15 +47,13 @@ jobs:
4747 if : ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
4848
4949 - name : Run PHPUnit with coverage
50- run : |
51- mkdir -p build/logs
52- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
50+ run : vendor/bin/phpunit --coverage-clover clover.xml
5351 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
5452
55- - name : Upload coverage report to Coveralls
56- run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
53+ - name : Upload coverage to Codecov
54+ uses : codecov/codecov-action@v5
5755 env :
58- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
5957 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
6058
6159 psalm :
Original file line number Diff line number Diff line change 55A PHP library to validate and format postcodes.
66
77[ ![ Build Status] ( https://github.com/brick/postcode/workflows/CI/badge.svg )] ( https://github.com/brick/postcode/actions )
8- [ ![ Coverage Status] ( https://coveralls .io/repos/ github/brick/postcode/badge.svg?branch=master )] ( https://coveralls .io/github/brick/postcode?branch=master )
8+ [ ![ Coverage Status] ( https://codecov .io/github/brick/postcode/graph/ badge.svg )] ( https://codecov .io/github/brick/postcode )
99[ ![ Latest Stable Version] ( https://poser.pugx.org/brick/postcode/v/stable )] ( https://packagist.org/packages/brick/postcode )
1010[ ![ Total Downloads] ( https://poser.pugx.org/brick/postcode/downloads )] ( https://packagist.org/packages/brick/postcode )
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 1212 },
1313 "require-dev" : {
1414 "phpunit/phpunit" : " ^11.0" ,
15- "php-coveralls/php-coveralls" : " ^2.0" ,
1615 "vimeo/psalm" : " 6.15.1"
1716 },
1817 "autoload" : {
You can’t perform that action at this time.
0 commit comments