mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ci: speedup git clone for test_apps using --depth 1
This commit is contained in:
parent
2fe24424fb
commit
4fc929005d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ def clone_test_app(request):
|
|||
cwd = os.path.split(os.path.realpath(__file__))[0]
|
||||
|
||||
if not os.path.exists(cwd + "/apps"):
|
||||
os.system("git clone https://github.com/YunoHost/test_apps %s/apps" % cwd)
|
||||
os.system(f"git clone https://github.com/YunoHost/test_apps {cwd}/apps --depth 1")
|
||||
else:
|
||||
os.system("cd %s/apps && git pull > /dev/null 2>&1" % cwd)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue