summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-07-22 16:29:02 -0700
committerJohn L. Villalovos <john@sodarock.com>2022-07-22 16:29:02 -0700
commitff215b7056ce2adf2b85ecc1a6c3227d2b1a5277 (patch)
treed38e3580492860e1ba0b31a916683e299df74a21
parent1ef70188da1e29cd8ba95bf58c994ba7dd3010c5 (diff)
downloadgitlab-ff215b7056ce2adf2b85ecc1a6c3227d2b1a5277.tar.gz
test: allow `podman` users to run functional tests
Users of `podman` will likely have `DOCKER_HOST` set to something like `unix:///run/user/1000/podman/podman.sock` Pass this environment variable so that it will be used during the functional tests.
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index b06dd08..5228315 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@ skip_missing_interpreters = True
envlist = py310,py39,py38,py37,flake8,black,twine-check,mypy,isort,cz,pylint
[testenv]
-passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR
+passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR DOCKER_HOST
setenv = VIRTUAL_ENV={envdir}
whitelist_externals = true
usedevelop = True