This repository was archived by the owner on Mar 1, 2026. It is now read-only.
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 mkdir -p build/logs
52- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
50+ run : vendor/bin/phpunit --coverage-clover clover.xml
5351 env :
5452 USE_PHP_EXTENSIONS : ${{ matrix.use-extensions }}
5553 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
5654
57- - name : Upload coverage report to Coveralls
58- run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
55+ - name : Upload coverage to Codecov
56+ uses : codecov/codecov-action@v5
5957 env :
60- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
6159 if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
Original file line number Diff line number Diff line change 55A PHP validation library.
66
77[ ![ Build Status] ( https://github.com/brick/validation/workflows/CI/badge.svg )] ( https://github.com/brick/validation/actions )
8- [ ![ Coverage Status ] ( https://coveralls .io/repos/ github/brick/validation/badge.svg?branch=master )] ( https://coveralls .io/github/brick/validation?branch=master )
8+ [ ![ Coverage] ( https://codecov .io/github/brick/validation/graph/ badge.svg )] ( https://codecov .io/github/brick/validation )
99[ ![ Latest Stable Version] ( https://poser.pugx.org/brick/validation/v/stable )] ( https://packagist.org/packages/brick/validation )
1010[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( http://opensource.org/licenses/MIT )
1111
Original file line number Diff line number Diff line change 1212 "php" : " ^7.2 || ^8.0"
1313 },
1414 "require-dev" : {
15- "phpunit/phpunit" : " ^8.0 || ^9.0" ,
16- "php-coveralls/php-coveralls" : " ^2.0"
15+ "phpunit/phpunit" : " ^8.0 || ^9.0"
1716 },
1817 "suggest" : {
1918 "ext-mbstring" : " Speeds up StringValidator"
You can’t perform that action at this time.
0 commit comments