Skip to content

Commit

Permalink
move ensurepip to the global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Izquierdo committed Nov 19, 2024
1 parent 7f407a9 commit 787ac7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ description =
py{39,310,311,312,313}: with {basepython}
deps = -r .config/requirements-test.in
commands_pre =
python3 -m ensurepip
bash -c 'test "$(basename $(cd ../.. && pwd))" == ansible_collections || { echo "Repository must be cloned inside a directory structure like ansible_collections/ansible/eda in order allow ansible-test to run."; exit 3;}'
commands =
echo "Implicit tox environment should not be called directly (safety measure to avoid running wrong tests due to typos)"
Expand Down Expand Up @@ -142,7 +143,6 @@ description =
commands =
# fail-fast if psycopg in not properly installed.
python3 -c "import psycopg"
python3 -m ensurepip
sh -c "ansible-test units --color --requirements --target-python default -v --num-workers 1 --coverage --truncate 0 {posargs}"
ansible-test coverage report --requirements --omit '.tox/*,tests/*' --color --all --show-missing -v --truncate 0
ansible-test coverage combine --export={envdir}
Expand Down

0 comments on commit 787ac7f

Please sign in to comment.