Skip to content

Commit bea6ab2

Browse files
committed
Issue #17: Modify workflows to be more specific.
1 parent d8d93b6 commit bea6ab2

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: CI
1010

1111
jobs:
1212

13-
ansible-stable:
13+
ansible-legacy:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check out code.
@@ -30,7 +30,7 @@ jobs:
3030
PY_COLORS: '1'
3131
ANSIBLE_FORCE_COLOR: '1'
3232

33-
ansible-acd:
33+
ansible:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Check out code.
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
python-version: 3.7
4343

44-
- name: Install Ansible ACD distribution.
44+
- name: Install Ansible distribution.
4545
run: pip install --pre ansible>=2.10
4646

4747
- name: Install other dependencies.
@@ -54,6 +54,31 @@ jobs:
5454
ANSIBLE_FORCE_COLOR: '1'
5555

5656
ansible-base:
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Check out code.
60+
uses: actions/checkout@v1
61+
62+
- name: Set up Python.
63+
uses: actions/setup-python@v1
64+
with:
65+
python-version: 3.7
66+
67+
- name: Install Ansible base.
68+
run: pip install --pre ansible-base>=2.10
69+
70+
- name: Install other dependencies.
71+
run: pip install ansible-lint yamllint docker molecule openshift
72+
73+
# Allow this to fail, but have the output available for debugging.
74+
- name: Run molecule default test scenario.
75+
run: molecule test
76+
env:
77+
PY_COLORS: '1'
78+
ANSIBLE_FORCE_COLOR: '1'
79+
continue-on-error: true
80+
81+
ansible-base-devel:
5782
runs-on: ubuntu-latest
5883
steps:
5984
- name: Check out code.

0 commit comments

Comments
 (0)