We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e7f2f5 commit 8401eb9Copy full SHA for 8401eb9
1 file changed
.harness/pipelines/example-python.yaml
@@ -27,6 +27,19 @@ pipeline:
27
spec:
28
shell: Sh
29
command: pytest --cov app
30
+ - step:
31
+ type: Run
32
+ name: Upload to Codecov
33
+ identifier: Codecov
34
+ spec:
35
+ shell: Sh
36
+ command: |
37
+ curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step curl -Os https://cli.codecov.io/latest/linux/codecov curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
38
+ gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
39
+ shasum -a 256 -c codecov.SHA256SUM
40
+ ./codecov --verbose upload-process -t $CODECOV_TOKEN
41
+ envVariables:
42
+ CODECOV_TOKEN: <+secrets.getValue("CODECOV_TOKEN")>
43
platform:
44
os: Linux
45
arch: Amd64
0 commit comments