forked from gwastro/pycbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
66 lines (59 loc) · 1.41 KB
/
tox.ini
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tox]
recreate = true
envlist = py-unittest
indexserver =
preinstall = https://pypi.python.org/simple
requires=tox-conda
[base]
deps =
:preinstall: -rrequirements.txt
-rcompanion.txt
mkl;'arm' not in platform_machine
[testenv]
allowlist_externals = bash
passenv=LAL_DATA_PATH
conda_deps=
openssl=1.1
m2crypto
conda_channels=conda-forge
# This test should run on almost anybody's environment
[testenv:py-unittest]
deps =
{[base]deps}
pytest
commands = pytest
# The following are long running or may require
# some extra system-level dependencies or static files.
# See github action workflow.
[testenv:py-help]
deps =
{[base]deps}
mpi4py
setenv = PYCBC_TEST_TYPE=help
commands = bash tools/pycbc_test_suite.sh
[testenv:py-search]
deps =
{[base]deps}
mpi4py
setenv = PYCBC_TEST_TYPE=search
commands = bash tools/pycbc_test_suite.sh
[testenv:py-inference]
deps =
{[base]deps}
setenv = PYCBC_TEST_TYPE=inference
commands = bash tools/pycbc_test_suite.sh
[testenv:py-docs]
deps =
{[base]deps}
; Needed for `BBHx` package to work with PyCBC
git+https://github.com/mikekatz04/BBHx.git; sys_platform == 'linux'
git+https://github.com/ConWea/BBHX-waveform-model.git; sys_platform == 'linux'
conda_deps=
mysqlclient
gcc_linux-64
gxx_linux-64
gsl
lapack==3.6.1
conda_channels=conda-forge
setenv = PYCBC_TEST_TYPE=docs
commands = bash tools/pycbc_test_suite.sh