diff options
author | Hugo <hugovk@users.noreply.github.com> | 2020-01-26 18:32:56 +0200 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2020-01-26 20:48:20 +0100 |
commit | 8d02934c53929ba66ec8995940a7f144f62c26ed (patch) | |
tree | 5856ac0609a0116ca155ec0f5f2a5e6c8576ad0c | |
parent | d0963c206fe990d55923bef48d1518aa196880de (diff) | |
download | tablib-8d02934c53929ba66ec8995940a7f144f62c26ed.tar.gz |
Fix tox config
-rw-r--r-- | .github/workflows/test.yml | 4 | ||||
-rw-r--r-- | 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 .` @@ -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 = |