diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e8de77..a04e0e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,9 @@ jobs: @test startswith(UserNSSandbox_jll.sandbox_path, Scratch.scratch_dir()) ' if: ${{ matrix.build-sandbox != '' }} + - name: Set preferences for test project + run: sed 's/\[\(.*\)\]/[preferences.\1]/' LocalPreferences.toml >> test/Project.toml + if: ${{ matrix.build-sandbox != '' }} - uses: julia-actions/julia-runtest@v1 Documentation: diff --git a/test/Project.toml b/test/Project.toml index 851c3fb..f4a5523 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -6,3 +6,4 @@ Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" Scratch = "6c6a2e73-6563-6170-7368-637461726353" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +UserNSSandbox_jll = "b88861f7-1d72-59dd-91e7-a8cc876a4984" diff --git a/test/runtests.jl b/test/runtests.jl index 235af5c..d18570b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,4 @@ -using Test, Sandbox +using Test, Sandbox, UserNSSandbox_jll include("SandboxConfig.jl") include("UserNamespaces.jl")