https://github.com/gwastro/pycbc
Raw File
Tip revision: b5bba8f2cb9f4adaf1abbf0ef166dfdaa2f45358 authored by Tito Dal Canton on 06 February 2024, 10:42:42 UTC
Cherry-picked commits for 2.1.4 release (#4606)
Tip revision: b5bba8f
tox.ini
[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}
conda_deps=
    mysqlclient
    gcc_linux-64>=12.2.0
    gxx_linux-64>=12.2.0
    binutils_linux-64>=2.39
    gsl
    lapack==3.6.1
conda_channels=conda-forge
setenv = PYCBC_TEST_TYPE=docs
commands = bash tools/pycbc_test_suite.sh
back to top