feat: allow configuring coverage from envvar (#24788)
This commit is contained in:
parent
d6b126ac6f
commit
33d0db364b
1 changed files with 6 additions and 1 deletions
|
|
@ -791,7 +791,12 @@ def run_tests(
|
|||
@click.option("--app", help="For App", default="frappe")
|
||||
@click.option("--build-number", help="Build number", default=1)
|
||||
@click.option("--total-builds", help="Total number of builds", default=1)
|
||||
@click.option("--with-coverage", is_flag=True, help="Build coverage file")
|
||||
@click.option(
|
||||
"--with-coverage",
|
||||
is_flag=True,
|
||||
help="Build coverage file",
|
||||
envvar="CAPTURE_COVERAGE",
|
||||
)
|
||||
@click.option("--use-orchestrator", is_flag=True, help="Use orchestrator to run parallel tests")
|
||||
@click.option("--dry-run", is_flag=True, default=False, help="Dont actually run tests")
|
||||
@pass_context
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue