mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 15:28:27 +01:00
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:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user