Skip to content

Commit 62c7d19

Browse files
committed
chore(ci): use new codecov uploader for reporting code coverage
1 parent 4ddda00 commit 62c7d19

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,16 @@ jobs:
133133
- storing-test-results
134134
- storing-artifacts
135135
- run:
136-
name: "Collecting coverage reports"
137-
command: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
136+
name: Collecting coverage reports
137+
command: |
138+
curl -Os https://uploader.codecov.io/latest/linux/codecov
139+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
140+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
141+
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
142+
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
143+
shasum -a 256 -c codecov.SHA256SUM
144+
chmod +x ./codecov
145+
./codecov
138146
139147
deploy-snapshot:
140148
docker:

0 commit comments

Comments
 (0)