We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45fa481 commit cd6966dCopy full SHA for cd6966d
1 file changed
codecov_cli/helpers/ci_adapters/template.py
@@ -6,6 +6,13 @@
6
class TemplateAdapter(CIAdapterBase):
7
# link for env variables
8
9
+ def detect(self) -> bool:
10
+ """
11
+ Detects if this CI provider is being used
12
+ Returns bool
13
14
+ return False
15
+
16
def _get_branch(self):
17
"""
18
Determine the branch of the repository based on envs
@@ -62,3 +69,10 @@ def _get_pull_request_number(self):
62
69
Returns: string
63
70
64
71
return None
72
73
+ def get_service_name(self):
74
75
+ The CI Service name that gets displayed when running the uploader
76
+ Returns: string
77
78
+ return None
0 commit comments