Update ansible-test.yml #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ansible Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
ansible-test: | |
runs-on: ubuntu-latest | |
steps: | |
- 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.12 | |
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 |