From 8d02934c53929ba66ec8995940a7f144f62c26ed Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 26 Jan 2020 18:32:56 +0200 Subject: [PATCH] Fix tox config --- .github/workflows/test.yml | 4 ++-- tox.ini | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c652ad..488e4e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 .` diff --git a/tox.ini b/tox.ini index 8d2689f..149fcb8 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =