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
+2
View File
@@ -826,6 +826,8 @@ def test_pipeline_file_target_ops(tmp_dir, dvc, local_remote, run_copy):
outs = ["foo", "bar", "lorem", "ipsum", "baz", "lorem2"]
remove(dvc.stage_cache.cache_dir)
dvc.push()
# each one's a copy of other, hence 3
assert len(recurse_list_dir(fspath_py35(local_remote))) == 3