Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ flake8==4.0.1 | |
pytest==7.1.2 | ||
Sphinx==4.3.2 | ||
tox==3.25.0 | ||
tox-gh-actions==2.9.1 | ||
twine==4.0.1 | ||
wheel==0.37.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
# Tox (https://tox.readthedocs.io/) is a tool for running tests | ||
# in multiple virtualenvs. This configuration file will run the | ||
# test suite on all supported python versions. To use it, "pip install tox" | ||
# and then run "tox" from this directory. | ||
|
||
[tox] | ||
envlist = py37,py38,py37-lint,py39,py310 | ||
|
||
[testenv] | ||
commands = pip install -r requirements-dev.txt | ||
pytest | ||
envlist = py37,py38,py39,py310 | ||
|
||
[gh-actions] | ||
python = | ||
3.7: py37 | ||
3.8: py38 | ||
3.9: py39 | ||
3.10: py310 | ||
|
||
[testenv:py37-lint] | ||
basepython = python3.7 | ||
commands = pip install -r requirements-dev.txt | ||
black --check --target-version=py37 dennis tests | ||
flake8 dennis tests | ||
[testenv] | ||
commands = | ||
pip install -r requirements-dev.txt | ||
{posargs:pytest tests/} |