Skip to content

Commit 892c774

Browse files
authored
chore(ci): use new codecov uploader for reporting code coverage (#411)
1 parent 313c564 commit 892c774

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.circleci/config.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,16 @@ jobs:
6666
- store_test_results:
6767
path: test-reports
6868
- run:
69-
name: "Collecting coverage reports"
70-
command: bash <(curl -s https://codecov.io/bash) -f ./coverage.xml || echo "Codecov did not collect coverage reports"
69+
name: Collecting coverage reports
70+
command: |
71+
curl -Os https://uploader.codecov.io/latest/linux/codecov
72+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
73+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
74+
curl -s https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
75+
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
76+
shasum -a 256 -c codecov.SHA256SUM
77+
chmod +x ./codecov
78+
./codecov
7179
check-code-style:
7280
docker:
7381
- image: *default-python

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## 1.27.0 [unreleased]
22

3+
### CI
4+
1. [#411](https://github.com/influxdata/influxdb-client-python/pull/411): Use new Codecov uploader for reporting code coverage
5+
36
## 1.26.0 [2022-02-18]
47

58
### Breaking Changes

0 commit comments

Comments
 (0)