mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-11-25 10:23:49 +00:00
Remove dependency on 'virtualenv'
'virtualenv' is an external dependency with the same purpose of Python's 'venv' module. This patch removes the external dependency in favor of the readily available package.
This commit is contained in:
@@ -11,7 +11,5 @@ jobs:
|
|||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install virtualenv using pip
|
|
||||||
run: pip install virtualenv
|
|
||||||
- name: Run ansible-test
|
- name: Run ansible-test
|
||||||
run: bash tests/sanity/sanity.sh
|
run: bash tests/sanity/sanity.sh
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ ANSIBLE_COLLECTION=freeipa-ansible_freeipa
|
|||||||
|
|
||||||
use_docker=$(docker -v >/dev/null 2>&1 && echo "True" || echo "False")
|
use_docker=$(docker -v >/dev/null 2>&1 && echo "True" || echo "False")
|
||||||
|
|
||||||
virtualenv "$VENV"
|
python -m venv "$VENV"
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source "$VENV"/bin/activate
|
source "$VENV"/bin/activate
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user