diff --git a/codecov_cli/helpers/ci_adapters/local.py b/codecov_cli/helpers/ci_adapters/local.py index 9c436aab..85c9265b 100644 --- a/codecov_cli/helpers/ci_adapters/local.py +++ b/codecov_cli/helpers/ci_adapters/local.py @@ -12,7 +12,7 @@ def detect(self) -> bool: return s.returncode == SUCCESS def _get_branch(self): - return os.getenv("GIT_BRANCH") or os.getenv("BRANCH_NAME") + return os.getenv("GIT_BRANCH") or os.getenv("CIRCLE_BRANCH") or os.getenv("BRANCH_NAME") def _get_build_code(self): return None