-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (35 loc) · 1.07 KB
/
default.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
---
name: Molecule Test
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@v1
with:
path: ansible-phpipam
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt install docker
python -m pip install --upgrade pip
pip3 install -r requirements.txt
ansible --version
molecule --version
- name: Test with molecule
run: |
molecule test --scenario-name centos7
# molecule test --scenario-name centos8
# molecule test --scenario-name debian8
molecule test --scenario-name debian9
molecule test --scenario-name debian10
# molecule test --scenario-name fedora
molecule test --scenario-name ubuntu1604
molecule test --scenario-name ubuntu1804