Skip to content
Snippets Groups Projects
Commit 19c6deab authored by nimrod's avatar nimrod
Browse files

- Use the vars from other the default env, less copy and paste.

parent a6ae641b
No related branches found
No related tags found
No related merge requests found
......@@ -15,17 +15,17 @@ commands =
[testenv:pre-commit]
deps =
-rtests/requirements.txt
{[testenv]deps}
pre-commit
passenv = HOME VBOX* ANSIBLE_*
whitelist_externals =
sh
passenv = {[testenv]passenv}
whitelist_externals = {[testenv]whitelist_externals}
commands =
sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
molecule dependency
pre-commit run --all-files
[testenv:import]
envdir = {toxinidir}/.tox/molecule
deps = -rtests/requirements.txt
envdir = {[testenv]envdir}
deps = {[testenv]deps}
passenv = {[testenv]passenv}
commands = ansible-galaxy import -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment