forked from PyWavelets/pywt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
33 lines (29 loc) · 1.08 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
# Running the command 'tox' while in the root of the pywt source
# directory will:
# - Create a pywt source distribution
# - Then for every supported version of Python:
# - Create a virtualenv in {homedir}/.tox/pywt/py$VERSION and
# install dependencies. (These virtualenvs are cached across
# runs unless you use --recreate.)
# - Use pip to install the pywt sdist into the virtualenv
# - Run the pywt tests
# To run against a specific subset of Python versions, use:
# tox -e py39,py310
# Tox assumes that you have appropriate Python interpreters already
# installed and that they can be run as 'python3.9', 'python3.10', etc.
[tox]
toxworkdir = {homedir}/.tox/pywt/
envlist = py310, py311, py312
[testenv]
deps =
pytest
cython
numpy
matplotlib
changedir = {envdir}
commands =
pytest {toxinidir}/pywt/tests -v