Title: Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER · Issue #219 · codecov/codecov-python · GitHub
Open Graph Title: Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER · Issue #219 · codecov/codecov-python
X Title: Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER · Issue #219 · codecov/codecov-python
Description: Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in
Open Graph Description: Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in
X Description: Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in <m...
Opengraph URL: https://github.com/codecov/codecov-python/issues/219
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER","articleBody":"Running\r\n\r\n```\r\npip install codecov\r\ncodecov\r\n```\r\n\r\non Semaphore CI fails with the following error:\r\n```\r\n\r\nTraceback (most recent call last):\r\n--\r\n | File \"/home/semaphore/.pyenv/3.7/bin/codecov\", line 8, in \u003cmodule\u003e\r\n | sys.exit(main())\r\n | File \"/home/semaphore/.pyenv/3.7/lib/python3.7/site-packages/codecov/__init__.py\", line 365, in main\r\n | build=os.getenv('SEMAPHORE_BUILD_NUMBER') + '.' + os.getenv('SEMAPHORE_CURRENT_THREAD'),\r\n | TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'\r\n | exit code: 1 duration: 0s\r\n\r\n```\r\n\r\nThis is to be expected as `SEMAPHORE_BUILD_NUMBER` is not listed in the [docs](https://docs.semaphoreci.com/article/12-environment-variables). This seems to be a difference between Semaphore 2.0 and Semaphore, where this env var is [available](https://semaphoreci.com/docs/available-environment-variables.html).\r\n\r\nIs there support for Semaphore 2.0?","author":{"url":"https://github.com/Helveg","@type":"Person","name":"Helveg"},"datePublished":"2019-11-14T15:31:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/219/codecov-python/issues/219"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d6b4236c-7a5a-e1ad-a02a-84b50abfc703 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE74:26D44C:111DFC8:1726DC3:6A4C6BF1 |
| html-safe-nonce | 784888f130bc581f128d2d667d7a7e31c912f26ccf9642eef061e6ea7981b504 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTc0OjI2RDQ0QzoxMTFERkM4OjE3MjZEQzM6NkE0QzZCRjEiLCJ2aXNpdG9yX2lkIjoiMjkzMzU4OTMxNDk0NzAxNzcxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b67373976beedb7c9dbe1a3376c7491042dcec256e64fa8dcd95acb73c7a1922 |
| hovercard-subject-tag | issue:522933837 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codecov/codecov-python/219/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba5ebff18072a42a8e368f917bd0c497bcf23e9e25f1a7841130ed9405a99bdc/codecov/codecov-python/issues/219 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba5ebff18072a42a8e368f917bd0c497bcf23e9e25f1a7841130ed9405a99bdc/codecov/codecov-python/issues/219 |
| og:image:alt | Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Helveg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/codecov/codecov-python git https://github.com/codecov/codecov-python.git |
| octolytics-dimension-user_id | 8226205 |
| octolytics-dimension-user_login | codecov |
| octolytics-dimension-repository_id | 22685735 |
| octolytics-dimension-repository_nwo | codecov/codecov-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22685735 |
| octolytics-dimension-repository_network_root_nwo | codecov/codecov-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width