Unify testing builds

Unify Ansible testing builds into a single job
Add a few basic "unit test" Ansible builds
Update dependencies
This commit is contained in:
Greg Hellings
2022-05-06 14:47:43 -05:00
committed by GitHub
parent 5ed8975af7
commit e2e22cae6e
9 changed files with 89 additions and 29 deletions
+3 -11
View File
@@ -1,8 +1,8 @@
dependency:
name: galaxy
options:
role-file: ../../requirements.yml # relative to the role dir
requirements-file: ../../requirements.yml
role-file: ../requirements.yml # relative to the role dir
requirements-file: ../requirements.yml
provisioner:
name: ansible
playbooks: # These paths are relative to scenario dir
@@ -15,14 +15,6 @@ provisioner:
force_color: true
remote_tmp: /tmp/${USER}/ansible
verifier:
name: testinfra
options:
# Add a -v so you see the individual test names,
# particularly useful with parameterized tests
v: true
junit-xml: junit.xml
# Using the shared directory is useful for sharing tests across scenarios,
# but is not a requirement. For scenario specific tests, add the appropriate
# file path to the test or test directory below
name: ansible
additional_files_or_dirs:
- ../../shared/tests # relative to the scenario tests dir