Skip to content

Commit

Permalink
Fixed CI build failure if CodeCov token is not provided.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Apr 25, 2024
1 parent 90643b4 commit cc0e066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ jobs:
path: *artifacts
- run:
name: Upload code coverage reports to Codecov
command: if [ -d /tmp/artifacts/coverage ]; then codecov -Z -s /tmp/artifacts/coverage; fi
command: if [ -n "${CODECOV_TOKEN}" ] && [ -d /tmp/artifacts/coverage ]; then codecov -Z -s /tmp/artifacts/coverage; fi
- persist_to_workspace:
root: /tmp/workspace
paths:
Expand Down

1 comment on commit cc0e066

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.