mirror of
https://ghproxy.net/https://github.com/wp-cli/scaffold-package-command.git
synced 2025-10-04 05:10:07 +08:00
Merge pull request #250 from wp-cli/codecov-shield
This commit is contained in:
commit
274c64f5f3
1 changed files with 3 additions and 0 deletions
|
@ -280,6 +280,9 @@ EOT;
|
|||
if ( file_exists( $package_dir . '/.circleci/config.yml' ) ) {
|
||||
$shields[] = "[](https://circleci.com/gh/{$readme_args['package_name']}/tree/{$branch})";
|
||||
}
|
||||
if ( file_exists( $package_dir . '/codecov.yml' ) ) {
|
||||
$shields[] = "[](https://codecov.io/gh/{$readme_args['package_name']}/tree/{$branch})";
|
||||
}
|
||||
|
||||
if ( count( $shields ) ) {
|
||||
$readme_args['shields'] = implode( ' ', $shields );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue