Skip to content

Commit

Permalink
add force test cov env var
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlaz committed Nov 17, 2023
1 parent ee9d9ae commit c6f5b63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ddtrace/internal/ci_visibility/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ def __init__(self, tracer=None, config=None, service=None):

@staticmethod
def _should_collect_coverage(coverage_enabled_by_api):
if asbool(os.getenv("_DD_CIVISIBILITY_ITR_FORCE_ENABLE_COVERAGE", default=False)):
return True
if not coverage_enabled_by_api:
return False
if compat.PY2:
Expand Down

0 comments on commit c6f5b63

Please sign in to comment.