mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
Use new codecov uploader
This commit is contained in:
parent
5123e67f8d
commit
e6a8da68cd
1 changed files with 13 additions and 7 deletions
|
@ -71,20 +71,26 @@ pipeline:
|
||||||
else
|
else
|
||||||
phpunit --configuration tests/phpunit.xml;
|
phpunit --configuration tests/phpunit.xml;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
codecov:
|
codecov:
|
||||||
image: plugins/codecov
|
image: friendicaci/codecov
|
||||||
when:
|
when:
|
||||||
matrix:
|
matrix:
|
||||||
PHP_MAJOR_VERSION: 7.4
|
PHP_MAJOR_VERSION: 7.4
|
||||||
PHP_VERSION: 7.4.33
|
PHP_VERSION: 7.4.33
|
||||||
repo:
|
repo:
|
||||||
- friendica/friendica
|
- friendica/friendica
|
||||||
settings:
|
commands:
|
||||||
token:
|
- curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
|
||||||
from_secret: codecov-token
|
- curl -Os https://uploader.codecov.io/latest/alpine/codecov
|
||||||
files:
|
- curl -Os https://uploader.codecov.io/latest/alpine/codecov.SHA256SUM
|
||||||
- clover.xml
|
- curl -Os https://uploader.codecov.io/latest/alpine/codecov.SHA256SUM.sig
|
||||||
|
- gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
|
||||||
|
- shasum -a 256 -c codecov.SHA256SUM
|
||||||
|
- chmod +x codecov
|
||||||
|
- ./codecov -B ${CI_COMMIT_BRANCH} -C ${CI_COMMIT_SHA} -P ${CI_COMMIT_PULL_REQUEST} -b ${CI_PIPELINE_NUMBER} -Z -f 'clover.xml'
|
||||||
|
secrets:
|
||||||
|
- source: codecov-token
|
||||||
|
target: codecov_token
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
|
|
Loading…
Reference in a new issue