codecov-python icon indicating copy to clipboard operation
codecov-python copied to clipboard

Added support for Semaphore 2.0

Open Helveg opened this issue 5 years ago • 1 comments

This pull request aims to differentiate between Semaphore Classic and the new Semaphore 2.0. It uses the different env vars to detect the difference, specifically the SEMAPHORE_REPO_SLUG was used because its name should have a low prevalence outside of this context, and its counterpart in 2.0 SEMAPHORE_GIT_REPO_SLUG is very similar.

I'm unsure what the 'service' field is for and whether it needs to be recognized by codecov server side so I left it on semaphore

Helveg avatar Nov 14 '19 16:11 Helveg

Codecov Report

Merging #220 into master will not change coverage. The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #220   +/-   ##
=====================================
  Coverage       0%     0%           
=====================================
  Files           1      1           
  Lines           1      1           
=====================================
  Misses          1      1

codecov[bot] avatar Nov 14 '19 16:11 codecov[bot]

Closing due to deprecation

thomasrockhu-codecov avatar Oct 17 '22 13:10 thomasrockhu-codecov