mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 06:14:13 +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
|
||||
docker
|
||||
pytest
|
||||
pytest-testinfra
|
||||
selinux
|
||||
passlib
|
||||
|
|
|
@ -13,11 +13,11 @@ apt -y install docker.io
|
|||
|
||||
# Install test requirements from role
|
||||
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
|
||||
# Install test requirements from collection
|
||||
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
|
||||
|
||||
# Install ansible version specific requirements
|
||||
|
|
Loading…
Reference in a new issue