DCD-386: Initial test of pipenv.

This commit is contained in:
Steve Smith
2019-06-13 13:57:56 +10:00
parent c1d60bc294
commit cda21df138
6 changed files with 231 additions and 18 deletions

View File

@@ -3,13 +3,10 @@
set -e
# Use Ansible from virtualenv if provided
if [[ -f .venv/bin/ansible ]]; then
source .venv/bin/activate
pip install molecule docker six
fi
pipenv install molecule docker six
for role in `find roles/ -name molecule | sort`; do
pushd `dirname $role`
molecule test --all
pipenv run molecule test --all
popd
done