Skip to content

Commit 6cb621f

Browse files
authored
Merge pull request #8 from mattsb42-aws/tox
Tox cleanup
2 parents 0b621c9 + f52428e commit 6cb621f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tox.ini

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36}-{local,integ}-fast,
3+
py{27,34,35,36}-{local,integ}-fast, nocmk,
44
bandit, doc8, readme,
55
flake8, pylint,
66
flake8-tests, pylint-tests,
@@ -25,18 +25,31 @@ passenv =
2525
sitepackages = False
2626
deps = -rtest/requirements.txt
2727
commands =
28+
# Only run small test scenario sets
2829
local-fast: {[testenv:base-command]commands} -m "local and not slow and not veryslow and not nope"
2930
integ-fast: {[testenv:base-command]commands} -m "integ and not slow and not veryslow and not nope"
3031
all-fast: {[testenv:base-command]commands} -m "not slow and not veryslow and not nope"
32+
# Also run moderately large test scenario sets
3133
local-slow: {[testenv:base-command]commands} -m "local and not veryslow and not nope"
3234
integ-slow: {[testenv:base-command]commands} -m "integ and not veryslow and not nope"
3335
all-slow: {[testenv:base-command]commands} -m "not veryslow and not nope"
36+
# Also run very large test scenario sets
3437
local-full: {[testenv:base-command]commands} -m "local and not nope"
3538
integ-full: {[testenv:base-command]commands} -m "integ and not nope"
3639
all-full: {[testenv:base-command]commands} -m "not nope"
40+
# Only run extremely large test scenario sets
3741
local-nope: {[testenv:base-command]commands} -m "local and nope"
3842
integ-nope: {[testenv:base-command]commands} -m "integ and nope"
3943
all-nope: {[testenv:base-command]commands} -m "nope"
44+
# Do not select any specific markers
45+
manual: {[testenv:base-command]commands}
46+
47+
# Verify that local tests work without environment variables present
48+
[testenv:nocmk]
49+
basepython = python3
50+
sitepackages = False
51+
deps = -rtest/requirements.txt
52+
commands = {[testenv:base-command]commands} -m "local and not slow and not veryslow and not nope"
4053

4154
# mypy
4255
[testenv:mypy-coverage]

0 commit comments

Comments
 (0)