forked from PowerDNS/pdns-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 884 Bytes
/
main.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
---
on:
push:
pull_request:
jobs:
Tests:
name: Test role on different ansible versions
runs-on: ubuntu-20.04
strategy:
matrix:
ansible:
- '2.9'
- '2.10'
- '2.11'
scenario:
- pdns-43
- pdns-44
- pdns-45
- pdns-46
- pdns-47
- pdns-master
- pdns-os-repos
- systemd-no-overrides
steps:
- name: checkout
uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run the tests
run: tox -- molecule test -s ${{ matrix.scenario }}
env:
ANSIBLE: ${{ matrix.ansible }}