Skip to content

Commit f52428e

Browse files
committed
add nocmk tox testenv to verify that local tests run successfully with no environment variables set
1 parent 548d242 commit f52428e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tox.ini

+8-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,
@@ -44,6 +44,13 @@ commands =
4444
# Do not select any specific markers
4545
manual: {[testenv:base-command]commands}
4646

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"
53+
4754
# mypy
4855
[testenv:mypy-coverage]
4956
commands =

0 commit comments

Comments
 (0)