Skip to content

Commit 9680c51

Browse files
authored
take 1 on dependies for CI (#247)
1 parent e890c0c commit 9680c51

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

test/install_dependencies.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# copied and modified from https://github.com/tkf/IPython.jl/blob/master/test/install_dependencies.jl
2+
3+
4+
# Adding Pkg in test/REQUIRE would be an error in 0.6. Using
5+
# Project.toml still has some gotchas. So:
6+
Pkg = Base.require(Base.PkgId(Base.UUID(0x44cfe95a1eb252eab672e2afdf69b78f), "Pkg"))
7+
8+
# Let PyCall.jl use Python interpreter from Conda.jl
9+
# See: https://github.com/JuliaPy/PyCall.jl
10+
ENV["PYTHON"] = ""
11+
Pkg.build("PyCall")
12+
13+
using SymPy

test/runtests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
if lowercase(get(ENV, "CI", "false")) == "true"
2+
include("install_dependencies.jl")
3+
end
4+
5+
6+
7+
18
using SymPy
29
using Test
310

0 commit comments

Comments
 (0)