Skip to content

Commit c3d563e

Browse files
author
Christopher Doris
committed
fix ci attempt 2
1 parent 5746912 commit c3d563e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/runtests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
using TestItemRunner
22

33
@testmodule Setup begin
4+
using PythonCall
45
# test if we are in CI
56
ci = get(ENV, "CI", "") == "true"
6-
# test if we have all dev conda deps (assume true if not in CI)
7-
devdeps = ci ? ENV["JULIA_PYTHONCALL_EXE"] == "@CondaPkg" : true
7+
# test if we have all dev conda deps
8+
devdeps = PythonCall.C.CTX.which == :CondaPkg
89
end
910

1011
@run_package_tests

0 commit comments

Comments
 (0)