Skip to content

Commit

Permalink
tox
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebenelli committed Oct 10, 2022
1 parent ee32b72 commit 9a2267f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, style, coverage, check-manifest, docstyle, docs
envlist = py37, py38, py39, py310, style, coverage, check-manifest, docstyle, docs

# ENVS
# ----------
Expand All @@ -9,17 +9,18 @@ python =
3.9: py39, coverage, style, check-manifest

[testenv]
usedevelop = True
usedevelop = False
deps =
-r {toxinidir}/requirements.txt
pytest
pandas
commands = pytest tests/ {posargs}
-r {toxinidir}/requirements_dev.txt
setenv =
SETUPTOOLS_ENABLE_FEATURES = "legacy-editable"
commands = pytest -s tests/ {posargs}

[testenv:style]
description = "Style tests, using flake8 and fortran-linter"
deps =
flake8
flake8-nb
flake8-black
flake8-builtins
flake8-import-order
Expand Down

0 comments on commit 9a2267f

Please # to comment.