mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 06:56:13 +00:00
Fix tox config
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user