diff --git a/.repos_cache/README b/.repos_cache/README new file mode 100644 index 0000000000000000000000000000000000000000..56c5cd5a0bb256309de4ff2b372652d35d821190_LnJlcG9zX2NhY2hlL1JFQURNRQ== --- /dev/null +++ b/.repos_cache/README @@ -0,0 +1,1 @@ +A directory used to avoid cloning the same repository again and again during tests diff --git a/bin/setup-base-dir b/bin/setup-base-dir index 2d4b8d9a4f4b1ebf40604943f52eeb459d828027_YmluL3NldHVwLWJhc2UtZGly..56c5cd5a0bb256309de4ff2b372652d35d821190_YmluL3NldHVwLWJhc2UtZGly 100755 --- a/bin/setup-base-dir +++ b/bin/setup-base-dir @@ -109,6 +109,15 @@ source, dest, ] + if "TESTTMP" in environ: + command.extend([ + "--config", + "extensions.share=", + "--config", + "share.poolnaming=remote", + "--config", + f"share.pool={POULPE_DIR}/.repos_caches", + ]) subprocess.run(command, check=True)