From: Philipp Date: Sat, 1 Apr 2023 19:52:02 +0000 (+0200) Subject: Use new codecov uploader X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e6a8da68cd91984e0f58b322eda20864e8082433;p=friendica.git Use new codecov uploader --- diff --git a/.woodpecker/.phpunit.yml b/.woodpecker/.phpunit.yml index cd9fea3500..d3730cff84 100644 --- a/.woodpecker/.phpunit.yml +++ b/.woodpecker/.phpunit.yml @@ -71,20 +71,26 @@ pipeline: else phpunit --configuration tests/phpunit.xml; fi - codecov: - image: plugins/codecov + image: friendicaci/codecov when: matrix: PHP_MAJOR_VERSION: 7.4 PHP_VERSION: 7.4.33 repo: - friendica/friendica - settings: - token: - from_secret: codecov-token - files: - - clover.xml + commands: + - curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import + - curl -Os https://uploader.codecov.io/latest/alpine/codecov + - curl -Os https://uploader.codecov.io/latest/alpine/codecov.SHA256SUM + - 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: mariadb: