Skip to content

Commit da50d69

Browse files
authored
chore(ci): use new codecov uploader for reporting code coverage (#47)
1 parent e3b1718 commit da50d69

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,15 @@ jobs:
110110
path: ./junit.xml
111111
- run:
112112
name: Collecting coverage reports
113-
command: bash <(curl -s https://codecov.io/bash) -f ./info.lcov || echo "Codecov did not collect coverage reports"
113+
command: |
114+
curl -Os https://uploader.codecov.io/latest/linux/codecov
115+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
116+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
117+
curl -s https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
118+
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
119+
shasum -a 256 -c codecov.SHA256SUM
120+
chmod +x ./codecov
121+
./codecov
114122
115123
tests-macOS:
116124
macos:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## 1.2.0 [unreleased]
22

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

58
### Features

0 commit comments

Comments
 (0)