add test for julia version support

This commit is contained in:
Eric Hanson 2025-07-21 16:51:14 +02:00
parent 5501721fa9
commit ae6f19d870
3 changed files with 24 additions and 2 deletions

View file

@ -106,7 +106,10 @@ def install_environment(
# copy `src` files if they exist
src_dir = prefix.path('src')
if os.path.isdir(src_dir):
shutil.copytree(src_dir, os.path.join(envdir, 'src'))
shutil.copytree(
src_dir, os.path.join(envdir, 'src'),
dirs_exist_ok=True,
)
# Julia code to instantiate the hook environment
julia_code = """