Skip to content

ci: GHA: codecov: fail_ci_if_error=true #6560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Jan 24, 2020

This should make it obvious if missing coverage is due to the upload
having failed.

Using #6553 would be an
alternative, but this can be used already if that takes longer.

Ref: #6463 (comment)

@blueyed
Copy link
Contributor Author

blueyed commented Jan 24, 2020

macos-py38:

 Codecov upload1m 15s
##[error]Node run failed with exit code 1
Run codecov/codecov-action@v1
/Users/runner/runners/2.164.0/work/_actions/codecov/codecov-action/v1/dist/index.js:292
      throw error;
      ^

Error: connect ETIMEDOUT 35.199.43.247:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14) {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '35.199.43.247',
  port: 443
}

This should make it obvious if missing coverage is due to the upload
having failed.

Using pytest-dev#6553 would be an
alternative, but this can be used already if that takes longer.

Ref: pytest-dev#6463 (comment)
@blueyed blueyed force-pushed the ci-gha-codecov-fail_ci_if_error branch from 91f71c5 to 1ef137c Compare January 24, 2020 16:47
@blueyed
Copy link
Contributor Author

blueyed commented Jan 24, 2020

"py36" with the 2nd run:

Run codecov/codecov-action@v1
/home/runner/work/_actions/codecov/codecov-action/v1/dist/index.js:292
      throw error;
      ^

Error: connect ETIMEDOUT 35.199.43.247:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14) {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '35.199.43.247',
  port: 443
}

Closing in favor of #6553,

@blueyed blueyed closed this Jan 24, 2020
@blueyed blueyed deleted the ci-gha-codecov-fail_ci_if_error branch January 24, 2020 17:00
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.

1 participant