Add verifier to molecule definition

This commit is contained in:
Michiel Thai 2021-04-11 09:14:22 +02:00 committed by GitHub
parent d468aa3842
commit 3c5ae486f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,3 +15,15 @@ provisioner:
name: ansible
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
verifier:
name: testinfra
directory: ../tests/
env:
# get rid of the DeprecationWarning messages of third-party libs,
# see "https://docs.pytest.org/en/latest/warnings.html
# #deprecationwarning-and-pendingdeprecationwarning"
PYTHONWARNINGS: "ignore:.*U.*mode is deprecated:DeprecationWarning"
options:
# show which tests where executed in test output
v: 3