-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.26 KB
/
ansible-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
name: Ansible Tests
on:
pull_request:
jobs:
build:
name: Ansible Tests
runs-on: ubuntu-latest
steps:
- name: Perform sanity testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: stable-2.13
testing-type: sanity
# TODO: uncomment when we have integration tests
#- name: Perform integration testing with ansible-test
# uses: ansible-community/ansible-test-gh-action@release/v1
# with:
# ansible-core-version: stable-2.13
# pre-test-cmd: echo This runs before the ansible-test invocation
# python-version: 3.9
# target-python-version: 3.9
# testing-type: integration
# #test-deps: ansible.netcommon
# TODO: uncomment when we have unit tests
#- name: Perform unit testing with ansible-test
# uses: ansible-community/ansible-test-gh-action@release/v1
# with:
# ansible-core-version: stable-2.13
# pre-test-cmd: echo This runs before the ansible-test invocation
# python-version: 3.9
# target-python-version: 3.9
# testing-type: units
# #test-deps: >-
# # ansible.netcommon
# # ansible.utils