-
Notifications
You must be signed in to change notification settings - Fork 67
36 lines (33 loc) · 779 Bytes
/
Copy pathmain.yml
File metadata and controls
36 lines (33 loc) · 779 Bytes
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
on:
push:
branches:
- main
- dev*
pull_request:
jobs:
molecule:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: Molecule
uses: gofrolist/molecule-action@v2
with:
molecule_command: test
molecule_args: -d docker
#molecule_working_dir: thedatabaseme/cookbooks/ansible/molecule/molecule_test_role
env:
ANSIBLE_FORCE_COLOR: '1'
release:
needs:
- molecule
runs-on: ubuntu-latest
steps:
- name: galaxy
uses: robertdebock/galaxy-action@1.2.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
branch: main