1 parent dafaf53 commit 4227677Copy full SHA for 4227677
1 file changed
.harness/pipelines/example-python-1782243273911.yaml
@@ -55,7 +55,9 @@ pipeline:
55
identifier: Upload_coverage_to_Codecov_env_token
56
spec:
57
shell: Sh
58
- command: codecovcli --verbose do-upload --fail-on-error
+ command: |-
59
+ if [ -z "$CODECOV_TOKEN" ]; then echo "CODECOV_TOKEN is empty"; exit 1; fi
60
+ codecovcli --verbose do-upload --fail-on-error
61
envVariables:
62
CODECOV_TOKEN: <+secrets.getValue("Codecov_Upload_Token")>
63
platform:
0 commit comments