mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Fix virtualenv activation in tests.
This commit is contained in:
@@ -3,3 +3,6 @@
|
||||
|
||||
rm -rf "${OUTPUT_DIR}/venv"
|
||||
"${ANSIBLE_TEST_PYTHON_INTERPRETER}" -m virtualenv --system-site-packages --python "${ANSIBLE_TEST_PYTHON_INTERPRETER}" "${OUTPUT_DIR}/venv"
|
||||
set +ux
|
||||
source "${OUTPUT_DIR}/venv/bin/activate"
|
||||
set -ux
|
||||
|
||||
Reference in New Issue
Block a user