summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2020-01-26 18:32:56 +0200
committerClaude Paroz <claude@2xlibre.net>2020-01-26 20:48:20 +0100
commit8d02934c53929ba66ec8995940a7f144f62c26ed (patch)
tree5856ac0609a0116ca155ec0f5f2a5e6c8576ad0c
parentd0963c206fe990d55923bef48d1518aa196880de (diff)
downloadtablib-8d02934c53929ba66ec8995940a7f144f62c26ed.tar.gz
Fix tox config
-rw-r--r--.github/workflows/test.yml4
-rw-r--r--tox.ini12
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 =