-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (37 loc) · 942 Bytes
/
ci.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
---
name: CI
"on":
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
test-role-proxmox-lxc:
name: Test proxmox_lxc role
uses: ./.github/workflows/test_role.yml
with:
ROLE_NAME: proxmox_lxc
test-role-hms-mqtt-publisher:
name: Test hms_mqtt_publisher role
uses: ./.github/workflows/test_role.yml
with:
ROLE_NAME: hms_mqtt_publisher
ansible-test:
name: Run ansible-test
runs-on: ubuntu-latest
steps:
- name: Perform sanity testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
testing-type: sanity
galaxy:
name: Build collection
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build collection tarball
uses: artis3n/ansible_galaxy_collection@v2
with:
api_key: '${{ secrets.GALAXY_API_KEY }}'
publish: false