Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify tox environments #93

Merged
merged 1 commit into from
Mar 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tox]
minversion = 1.8
envlist =
py{36,37}-unit
py{36,37}-lint
format-check
lint
py{36,37}
doc
skip_missing_interpreters = true

[gh-actions]
python =
Expand All @@ -14,13 +15,16 @@ python =
[testenv]
passenv = *
commands =
unit: py.test --runslow -vv {posargs}
lint: flake8
py.test --runslow -vv {posargs}
setenv =
COVERAGE_FILE={toxworkdir}/.coverage
extras =
test

[testenv:lint]
commands =
python -m flake8

[testenv:format]
commands =
python -m black {toxinidir}
Expand Down