Revision 4f3c3d7968440ae471496d29558d38757a21a637 authored by Tito Dal Canton on 14 March 2023, 10:17:04 UTC, committed by Tito Dal Canton on 16 March 2023, 17:04:58 UTC
* Add labels CLI option

* Edit `upload()` to understand labels and refactor a bit

* Wire label CLI arg to upload code

* Address comment

* Tom's suggestion

Co-authored-by: Thomas Dent <thomas.dent@usc.es>
1 parent 624b7cd
Raw File
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}
    ; 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
back to top