fix: make sure pytest and pytest-testinfra versions stay compatible

Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
gardar 2023-11-17 17:32:45 +00:00
parent 015193ab18
commit 437f5613a2
No known key found for this signature in database
GPG key ID: 75FAE37CBA8C13C2
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
molecule molecule
docker docker
pytest
pytest-testinfra pytest-testinfra
selinux selinux
passlib passlib

View file

@ -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