Skip to content

Commit 4d7c901

Browse files
tests: make sure we're in an active project and that it's clean (#4155)
(cherry picked from commit c54ee59)
1 parent 0f9de51 commit 4d7c901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Logging.with_logger((islogging || Pkg.DEFAULT_IO[] == devnull) ? Logging.Console
7676
end
7777

7878
@testset "Pkg" begin
79+
Pkg.activate(; temp=true) # make sure we're in an active project and that it's clean
7980
try
8081
@testset "$f" for f in test_files
8182
@info "==== Testing `test/$f`"

0 commit comments

Comments
 (0)