mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
tests: limit printed durations to 50
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
d8be68436f
commit
d47e3c40b8
+1
-1
@@ -14,7 +14,7 @@ os.putenv(
|
||||
)
|
||||
os.putenv("DVC_HOME", REPO_ROOT)
|
||||
|
||||
opts = "-v -n=auto --dist loadscope --cov=dvc --durations=0"
|
||||
opts = "-v -n=auto --dist loadscope --cov=dvc --durations=50"
|
||||
params = " ".join(sys.argv[1:])
|
||||
cmd = f"{sys.executable} -m pytest {opts} {params}"
|
||||
check_call(cmd, shell=True)
|
||||
|
||||
Reference in New Issue
Block a user