Skip to content

Tox cleanup #8

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

Merged
merged 2 commits into from
Apr 23, 2018
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
15 changes: 14 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{27,34,35,36}-{local,integ}-fast,
py{27,34,35,36}-{local,integ}-fast, nocmk,
bandit, doc8, readme,
flake8, pylint,
flake8-tests, pylint-tests,
Expand All @@ -25,18 +25,31 @@ passenv =
sitepackages = False
deps = -rtest/requirements.txt
commands =
# Only run small test scenario sets
local-fast: {[testenv:base-command]commands} -m "local and not slow and not veryslow and not nope"
integ-fast: {[testenv:base-command]commands} -m "integ and not slow and not veryslow and not nope"
all-fast: {[testenv:base-command]commands} -m "not slow and not veryslow and not nope"
# Also run moderately large test scenario sets
local-slow: {[testenv:base-command]commands} -m "local and not veryslow and not nope"
integ-slow: {[testenv:base-command]commands} -m "integ and not veryslow and not nope"
all-slow: {[testenv:base-command]commands} -m "not veryslow and not nope"
# Also run very large test scenario sets
local-full: {[testenv:base-command]commands} -m "local and not nope"
integ-full: {[testenv:base-command]commands} -m "integ and not nope"
all-full: {[testenv:base-command]commands} -m "not nope"
# Only run extremely large test scenario sets
local-nope: {[testenv:base-command]commands} -m "local and nope"
integ-nope: {[testenv:base-command]commands} -m "integ and nope"
all-nope: {[testenv:base-command]commands} -m "nope"
# Do not select any specific markers
manual: {[testenv:base-command]commands}

# Verify that local tests work without environment variables present
[testenv:nocmk]
basepython = python3
sitepackages = False
deps = -rtest/requirements.txt
commands = {[testenv:base-command]commands} -m "local and not slow and not veryslow and not nope"

# mypy
[testenv:mypy-coverage]
Expand Down