|
1 | | -# Tox (http://tox.testrun.org/) is a tool for running tests |
2 | | -# in multiple virtualenvs. This configuration file will run the |
3 | | -# test suite on all supported python versions. To use it, "pip install tox" |
4 | | -# and then run "tox" from this directory. |
| 1 | +# Tox (https://tox.wiki/) is a tool for running tests in multiple virtualenvs. |
| 2 | +# This configuration file will run the test suite on supported python versions. |
| 3 | +# To use it, "pip install tox" and then run "tox" from this directory. |
5 | 4 |
|
6 | 5 | [tox] |
7 | | -envlist = py36, py37, py38, py39, docs |
| 6 | +envlist = py37, py38, py39, py310, docs |
8 | 7 |
|
9 | 8 | [testenv] |
10 | 9 | setenv = |
11 | 10 | PYTHONHASHSEED = 42 |
12 | 11 | # hooks for coverage exclusions based on Python major version |
13 | | - py36,py37,py38,py39: PY_MAJOR_VERSION = py3 |
| 12 | + py37,py38,py39,py310: PY_MAJOR_VERSION = py3 |
14 | 13 | commands = |
15 | 14 | python setup.py build_ext --inplace |
16 | | - py36,py37,py38: pytest -v --cov=numcodecs numcodecs |
17 | | - py39: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs |
| 15 | + py37,py38,py39: pytest -v --cov=numcodecs numcodecs |
| 16 | + py310: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs |
18 | 17 | coverage report -m |
19 | | - py39: flake8 numcodecs |
| 18 | + py310: flake8 numcodecs |
20 | 19 | pip freeze |
21 | 20 | deps = |
22 | 21 | -rrequirements_dev.txt |
23 | 22 | -rrequirements_test.txt |
24 | 23 |
|
25 | 24 | [testenv:docs] |
26 | | -basepython = python3.9 |
| 25 | +basepython = python3.10 |
27 | 26 | changedir = docs |
28 | 27 | deps = |
29 | 28 | -rrequirements_rtfd.txt |
|
0 commit comments