diff --git a/.gitignore b/.gitignore index 9a8db360..f4c7916f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,6 @@ *.rej docs/build/ Manifest.toml +docs/CondaPkg.toml +test/CondaPkg.toml +test/conda-env diff --git a/copier.yml b/copier.yml index bf084f69..c3c7760b 100644 --- a/copier.yml +++ b/copier.yml @@ -77,9 +77,6 @@ UseCirrusCI: _skip_if_exists: - "**/*.jl" - "!docs/make.jl" - - "**/*.md" - - "!docs/src/90-contributing.md" - - "!docs/src/90-developer.md" - "**/Project.toml" - CITATION.cff - LICENSE diff --git a/test/runtests.jl b/test/runtests.jl index f704c81e..dedb6a89 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,3 +1,10 @@ +using Base: compilecache_pidfile_path, a_method_to_overwrite_in_test +# This is only useful for testing offline. It creates a local env to avoid redownloading things. +ENV["JULIA_CONDAPKG_ENV"] = joinpath(@__DIR__, "conda-env") +if isdir(ENV["JULIA_CONDAPKG_ENV"]) + ENV["JULIA_CONDAPKG_OFFLINE"] = true +end + using COPIERTemplate using Test