push/pull: naively transfer run cache (#3746)

This is the most simple (aka dumb) implementation for this
functionality that is needed to unblock CICD development.
This commit is contained in:
Ruslan Kuprieiev
2020-05-07 16:55:10 +03:00
committed by GitHub
parent 9714b14456
commit 785dcfeef0
9 changed files with 92 additions and 11 deletions
+6
View File
@@ -17,6 +17,7 @@ def test_fetch(mocker):
"--all-commits",
"--with-deps",
"--recursive",
"--run-cache",
]
)
assert cli_args.func == CmdDataFetch
@@ -35,6 +36,7 @@ def test_fetch(mocker):
all_commits=True,
with_deps=True,
recursive=True,
run_cache=True,
)
@@ -54,6 +56,7 @@ def test_pull(mocker):
"--with-deps",
"--force",
"--recursive",
"--run-cache",
]
)
assert cli_args.func == CmdDataPull
@@ -73,6 +76,7 @@ def test_pull(mocker):
with_deps=True,
force=True,
recursive=True,
run_cache=True,
)
@@ -91,6 +95,7 @@ def test_push(mocker):
"--all-commits",
"--with-deps",
"--recursive",
"--run-cache",
]
)
assert cli_args.func == CmdDataPush
@@ -109,4 +114,5 @@ def test_push(mocker):
all_commits=True,
with_deps=True,
recursive=True,
run_cache=True,
)