mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix tests which assume virtualenv is available.
This commit is contained in:
5
test/runner/injector/virtualenv.sh
Normal file
5
test/runner/injector/virtualenv.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Create and activate a fresh virtual environment with `source virtualenv.sh`.
|
||||
|
||||
rm -rf "${OUTPUT_DIR}/venv"
|
||||
"${ANSIBLE_TEST_PYTHON_INTERPRETER}" -m virtualenv --system-site-packages --python "${ANSIBLE_TEST_PYTHON_INTERPRETER}" "${OUTPUT_DIR}/venv"
|
||||
Reference in New Issue
Block a user