From 80c0d974bf35886dd7cc723fab660d3a33dc09ac Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 7 Apr 2024 10:31:41 +0200 Subject: [PATCH] debug ci --- ci/downstream.jl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ci/downstream.jl b/ci/downstream.jl index 1a4c6c9a2..9cafeeee0 100644 --- a/ci/downstream.jl +++ b/ci/downstream.jl @@ -50,19 +50,19 @@ fake_supported_version!(path) = begin end test_stable(pkg::String) = begin - Pkg.activate(tempdir()) - tmpd = mktempdir() - - for dn in ("RecipesBase", "RecipesPipeline", "PlotsBase", "") - Pkg.develop(; path = joinpath(@__DIR__, "..", dn)) - end + Pkg.activate(; temp = true) + mktempdir() do + for dn in ("RecipesBase", "RecipesPipeline", "PlotsBase", "") + Pkg.develop(; path = joinpath(@__DIR__, "..", dn)) + end - pkg_dir = joinpath(tmpd, "$pkg.jl") - failsafe_clone_checkout(pkg_dir, "https://github.com/JuliaPlots/$pkg.jl") - fake_supported_version!(pkg_dir) + pkg_dir = joinpath(tmpd, "$pkg.jl") + failsafe_clone_checkout(pkg_dir, "https://github.com/JuliaPlots/$pkg.jl") + fake_supported_version!(pkg_dir) - Pkg.develop(; path = pkg_dir) - Pkg.test(pkg) + Pkg.develop(; path = pkg_dir) + Pkg.test(pkg) + end nothing end