Skip to content

Commit 90ee810

Browse files
committed
Add CI diagnostics
1 parent bd1f04d commit 90ee810

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/system.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ jobs:
6666
env:
6767
PYTHON: python
6868
- run: julia test/check_deps_version.jl ${{ matrix.python-version }}
69+
- run: python -c "import numpy; print(numpy.__version__)"
70+
- run: python -c "import numpy; print(numpy.__file__)"
71+
- run: python -c "import sys; print(sys.path)"
72+
- run: python -c "import os; import inspect; inspect.getfile(os)"
6973
- uses: julia-actions/julia-runtest@v1
7074
env:
7175
# Windows temp directories break the CI:

test/runtests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ PYTHONHOME=get(ENV,"PYTHONHOME","")
1111
PYTHONEXECUTABLE=get(ENV,"PYTHONEXECUTABLE","")
1212
@info "Python version $pyversion from $(PyCall.libpython), PYTHONHOME=$(PyCall.PYTHONHOME)\nENV[PYTHONPATH]=$PYTHONPATH\nENV[PYTHONHOME]=$PYTHONHOME\nENV[PYTHONEXECUTABLE]=$PYTHONEXECUTABLE"
1313

14+
using Libdl
15+
for library in Libdl.dllist()
16+
println(stderr, library)
17+
end
18+
19+
os = pyimport("os")
20+
println(stderr, os.__file__)
21+
1422
@testset "CI setup" begin
1523
if lowercase(get(ENV, "CI", "false")) == "true"
1624
@test !ispynull(pyimport_e("numpy"))

0 commit comments

Comments
 (0)