mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-27 06:10:32 +00:00
fix: make sure pytest and pytest-testinfra versions stay compatible
Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
parent
015193ab18
commit
437f5613a2
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
molecule
|
molecule
|
||||||
docker
|
docker
|
||||||
|
pytest
|
||||||
pytest-testinfra
|
pytest-testinfra
|
||||||
selinux
|
selinux
|
||||||
passlib
|
passlib
|
||||||
|
|
|
@ -13,11 +13,11 @@ apt -y install docker.io
|
||||||
|
|
||||||
# Install test requirements from role
|
# Install test requirements from role
|
||||||
if [ -f "$role_root/test-requirements.txt" ]; then
|
if [ -f "$role_root/test-requirements.txt" ]; then
|
||||||
python -m pip install -r "$role_root/test-requirements.txt"
|
python -m pip install --upgrade -r "$role_root/test-requirements.txt"
|
||||||
fi
|
fi
|
||||||
# Install test requirements from collection
|
# Install test requirements from collection
|
||||||
if [ -f "$collection_root/test-requirements.txt" ]; then
|
if [ -f "$collection_root/test-requirements.txt" ]; then
|
||||||
python -m pip install -r "$collection_root/test-requirements.txt"
|
python -m pip install --upgrade -r "$collection_root/test-requirements.txt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install ansible version specific requirements
|
# Install ansible version specific requirements
|
||||||
|
|
Loading…
Reference in a new issue