Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
numpy/tox.ini
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (34 sloc)
1.29 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 'Tox' is a tool for automating sdist/build/test cycles against | |
# multiple Python versions: | |
# https://pypi.python.org/pypi/tox | |
# https://tox.readthedocs.io/ | |
# Running the command 'tox' while in the root of the numpy source | |
# directory will: | |
# - Create a numpy source distribution (setup.py sdist) | |
# - Then for every supported version of Python: | |
# - Create a virtualenv in .tox/py$VERSION and install | |
# dependencies. (These virtualenvs are cached across runs unless | |
# you use --recreate.) | |
# - Use pip to install the numpy sdist into the virtualenv | |
# - Run the numpy tests | |
# To run against a specific subset of Python versions, use: | |
# tox -e py39 | |
# Extra arguments will be passed to runtests.py. To run | |
# the full testsuite: | |
# tox full | |
# To run with extra verbosity: | |
# tox -- -v | |
# Tox assumes that you have appropriate Python interpreters already | |
# installed and that they can be run as (e.g.) 'python3.8' | |
[tox] | |
envlist = | |
py38,py39 | |
[testenv] | |
deps= -Ur{toxinidir}/test_requirements.txt | |
changedir={envdir} | |
commands={envpython} -b {toxinidir}/runtests.py --mode=full {posargs:} | |
# Not run by default. Set up the way you want then use 'tox -e debug' | |
# if you want it: | |
[testenv:debug] | |
basepython=python-dbg | |
commands=gdb --args {envpython} {toxinidir}/runtests.py --mode=full {posargs:} |