forked from gwastro/pycbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
80 lines (72 loc) · 1.62 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[tox]
recreate = true
envlist = py-unittest
indexserver =
preinstall = https://pypi.python.org/simple
requires=tox-conda
setuptools
[base]
deps =
:preinstall: -rrequirements.txt
-rcompanion.txt
mkl;'arm' not in platform_machine
conda_deps =
c-compiler
cxx-compiler
gsl
mysqlclient
; these packages don't install cleanly with pip, conda has patches
ligo-segments
python-ligo-lw
[bbhx]
deps =
git+https://github.com/titodalcanton/BBHx.git@py39-and-cleanup; sys_platform == 'linux'
git+https://github.com/gwastro/BBHX-waveform-model.git; sys_platform == 'linux'
conda_deps =
liblapacke
openblas
[testenv]
allowlist_externals =
bash
conda
conda_channels=conda-forge
conda_deps =
{[base]conda_deps}
{[bbhx]conda_deps}
commands_pre =
conda list
commands = pytest
deps =
{[base]deps}
{[bbhx]deps}
pytest
passenv=LAL_DATA_PATH
platform =
lin: linux
mac: darwin
# This test should run on almost anybody's environment
[testenv:py-unittest]
# 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]
setenv =
PYCBC_TEST_TYPE=docs
commands = bash tools/pycbc_test_suite.sh