-
-
Notifications
You must be signed in to change notification settings - Fork 31
42 lines (38 loc) · 1007 Bytes
/
sanity.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
name: Sanity
on:
push:
branches:
- master
schedule:
- cron: "5 12 * * 2"
pull_request:
workflow_call:
workflow_dispatch:
jobs:
sanity:
name: Sanity (${{ matrix.ansible }})
defaults:
run:
working-directory: ansible_collections/ngine_io/cloudstack
strategy:
fail-fast: false
matrix:
ansible:
- stable-2.12
- stable-2.13
- stable-2.14
- devel
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
path: ansible_collections/ngine_io/cloudstack
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
- name: Run sanity tests
run: ansible-test sanity --docker -v --color