-
Notifications
You must be signed in to change notification settings - Fork 83
60 lines (57 loc) · 1.8 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
sanity:
runs-on: ubuntu-latest
name: Sanity (Ⓐ$${{ matrix.ansible_version }})
timeout-minutes: 30
strategy:
matrix:
python_version: ["3.9"]
ansible_version: ["stable-2.13", "stable-2.14", "devel"]
steps:
- name: Perform testing
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: ${{ matrix.ansible_version }}
origin-python-version: ${{ matrix.python_version }}
target-python-version: ${{ matrix.python_version }}
testing-type: sanity
units:
runs-on: ubuntu-latest
name: Units (Ⓐ$${{ matrix.ansible_version }})
timeout-minutes: 30
strategy:
matrix:
python_version: ["3.9"]
ansible_version: ["stable-2.13", "stable-2.14", "devel"]
steps:
- name: Perform testing
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: ${{ matrix.ansible_version }}
origin-python-version: ${{ matrix.python_version }}
target-python-version: ${{ matrix.python_version }}
testing-type: units
integration:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
grafana_version: ["9.2.6", "8.5.15", "7.5.16"]
ansible_version: ["stable-2.13", "stable-2.14", "devel"]
python_version: ["3.9"]
services:
grafana:
image: grafana/grafana:${{ matrix.grafana_version }}
steps:
- name: Perform testing
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: ${{ matrix.ansible_version }}
target-python-version: ${{ matrix.python_version }}
testing-type: integration