diff --git a/tests/utils/ci.sh b/tests/utils/ci.sh index fd84f4e4..63de2863 100755 --- a/tests/utils/ci.sh +++ b/tests/utils/ci.sh @@ -35,7 +35,7 @@ test_group="${entry_point_args[3]:-}" export PYTHONIOENCODING="utf-8" export PIP_DISABLE_PIP_VERSION_CHECK=true -export PIP_NO_WARN_SCRIPT_LOCATION=true +export PIP_NO_WARN_SCRIPT_LOCATION=false # Negative options are a bit weird: https://github.com/pypa/pip/issues/5200 export ANSIBLE_COLLECTIONS_PATHS="$PWD/../.." command -v python @@ -82,7 +82,7 @@ fi pip install rstcheck # Ensure we can write other collections to this dir -sudo chown "$USER" "$ANSIBLE_COLLECTIONS_PATHS" +sudo chown "$(whoami)" "$ANSIBLE_COLLECTIONS_PATHS" pip install -r tests/integration/requirements.txt -c tests/constraints.txt ansible-galaxy -vvv collection install -r tests/requirements.yml