Skip to content

Commit

Permalink
Copy preferences to test-specific project.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Apr 19, 2021
1 parent 7eb3884 commit 94a61bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Test, Sandbox
using Test, Sandbox, UserNSSandbox_jll

include("SandboxConfig.jl")
include("UserNamespaces.jl")
Expand Down

0 comments on commit 94a61bc

Please sign in to comment.