Skip to content

Commit c88c358

Browse files
Better tests
1 parent fd978f3 commit c88c358

File tree

3 files changed

+35
-65
lines changed

3 files changed

+35
-65
lines changed

.github/workflows/lifecycle.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: molecule lint
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- feature/*
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v2
16+
with:
17+
path: "${{ github.repository }}"
18+
- name: Molecule for Ansible - lint
19+
uses: MonolithProjects/[email protected]
20+
with:
21+
molecule_command: lint

.github/workflows/main.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- master
7+
- develop
8+
- feature/*
79
schedule:
810
- cron: '0 6 * * 0'
911
jobs:
@@ -17,6 +19,16 @@ jobs:
1719
with:
1820
path: "${{ github.repository }}"
1921
- name: Molecule for Ansible
20-
uses: MonolithProjects/action-molecule@v1.3.0
22+
uses: MonolithProjects/action-molecule@v1.4.0
2123
env:
22-
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
24+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
25+
with:
26+
molecule_command: test
27+
scenario: organization
28+
- name: Molecule for Ansible - converge organizations tag uninstall
29+
uses: MonolithProjects/[email protected]
30+
env:
31+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
32+
with:
33+
molecule_command: test
34+
scenario: organization

0 commit comments

Comments
 (0)