From 7d9154ac19f01ed6d0385a8f03b02483d3b269db Mon Sep 17 00:00:00 2001 From: Michelfrancis Bustillos Date: Sun, 5 Jan 2025 16:23:42 -0600 Subject: [PATCH] Create ansible-test.yml --- .github/workflows/ansible-test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ansible-test.yml diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml new file mode 100644 index 0000000..81a4dff --- /dev/null +++ b/.github/workflows/ansible-test.yml @@ -0,0 +1,24 @@ +- name: Perform integration testing with ansible-test + uses: ansible-community/ansible-test-gh-action@release/v1 + with: + ansible-core-version: stable-2.14 + pre-test-cmd: echo This runs before the ansible-test invocation + target-python-version: 3.11 + controller-python-version: auto + testing-type: integration + test-deps: ansible.netcommon +- name: Perform sanity testing with ansible-test + uses: ansible-community/ansible-test-gh-action@release/v1 + with: + ansible-core-version: stable-2.14 + testing-type: sanity +- name: Perform unit testing with ansible-test + uses: ansible-community/ansible-test-gh-action@release/v1 + with: + ansible-core-version: stable-2.14 + pre-test-cmd: echo This runs before the ansible-test invocation + target-python-version: 3.11 + testing-type: units + test-deps: >- + ansible.netcommon + ansible.utils