Issue #10: Move integration tests into molecule playbook.

This commit is contained in:
Jeff Geerling
2020-02-13 11:21:26 -06:00
parent 1200460f26
commit b2e639b823
15 changed files with 205 additions and 191 deletions

View File

@@ -84,8 +84,12 @@ jobs:
mkdir -p /home/runner/.ansible
ln -s /home/runner/work/kubernetes /home/runner/.ansible/collections
- name: Copy kubernetes integration test role into roles directory.
run: cp -R tests/integration/targets/kubernetes roles/
# TODO: Once community.general is on public Galaxy, drop the -s.
- name: Install community.general role to get json_query filter.
run: |
cp tests/integration/targets/kubernetes/files/manifest-example/MANIFEST.json MANIFEST.json
pip install jmespath
ansible-galaxy collection install -vvv -s https://sivel.eng.ansible.com/api community.general
- name: Run molecule default test scenario
run: molecule --debug test
run: molecule test