-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (23 loc) · 732 Bytes
/
tox.ini
File metadata and controls
26 lines (23 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[tox]
whitelist_externals =
julia
[testenv]
deps=
pytest
pytest-cov
numpy
commands =
python -c "import julia; julia.install()"
python -Xfaulthandler -c "import faulthandler; faulthandler.enable(); import pycalibration; pycalibration.install()"
python -m pytest pycalibration {posargs}
passenv =
# Allow a workaround for "error initializing LibGit2 module":
# https://github.com/JuliaLang/julia/issues/18693
SSL_CERT_FILE
# PyCall uses $PYTHON and $PYTHONPATH to configure Python executable. It is
# useful to specify this in CI so that `julia` can
# directly configure PyCall.
PYTHON
PYTHONPATH
# Allow to use a separate Julia project environment
JULIA_PROJECT