Skip to content

Conversation

hawkowl
Copy link
Contributor

@hawkowl hawkowl commented Nov 26, 2018

No description provided.

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

looks plausible otherwise

# Upload coverage to codecov, if running on CircleCI
if [ -n "$CIRCLECI" ]
then
/venv/bin/coverage combine || IGN=$?
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/venv/bin/coverage combine || IGN=$?
/venv/bin/coverage combine || true

Although, why do we want to ignore the error here and not at line 80?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

codecov doesn't return non-0 if it fails searching, only if it fails uploading

Copy link
Member

Choose a reason for hiding this comment

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

too manynegatives I think ... this line is a search rather than an upload? So according to what you wrote, it always returns 0 here, so the || true is redundant?

@hawkowl hawkowl merged commit 8db3dbb into develop Mar 18, 2019
@hawkowl hawkowl deleted the hawkowl/coverage branch March 18, 2019 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants