Fix tox config

This commit is contained in:
Hugo
2020-01-26 18:32:56 +02:00
committed by Claude Paroz
parent d0963c206f
commit 8d02934c53
2 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -28,6 +28,6 @@ jobs:
- name: Tox tests
shell: bash
# Drop the dot: py3.7-tests -> py37-tests
# Drop the dot: py3.7 -> py37
run: |
tox -e py`echo ${{ matrix.python-version }} | tr -d .`-tests
tox -e py`echo ${{ matrix.python-version }} | tr -d .`
+8 -4
View File
@@ -8,12 +8,16 @@ envlist =
[testenv]
deps =
tests: -rtests/requirements.txt
docs: sphinx
-rtests/requirements.txt
extras = pandas
commands =
tests: pytest {posargs:tests}
docs: sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
pytest {posargs:tests}
[testenv:docs]
deps =
sphinx
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[testenv:lint]
deps =