File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : Ansible Galaxy import
3
3
on :
4
- push :
5
- tags :
6
- - ' *'
4
+ release :
7
5
jobs :
8
6
galaxy :
9
7
name : Galaxy
15
13
- name : Set up Python 3
16
14
uses : actions/setup-python@v2
17
15
with :
18
- python-version : ' 3.x'
16
+ python-version : 3.x
19
17
20
18
- name : Install Ansible
21
19
run : pip3 install ansible-base==2.10.3
Original file line number Diff line number Diff line change 2
2
name : Molecule CI/CD
3
3
on :
4
4
pull_request :
5
+ branches :
6
+ - main
5
7
push :
6
8
branches :
7
9
- main
10
+ ignore-tags :
11
+ - " *"
8
12
schedule :
9
13
- cron : " 0 0 1 * *"
10
14
jobs :
@@ -23,22 +27,22 @@ jobs:
23
27
- name : Set up Python 3
24
28
uses : actions/setup-python@v2
25
29
with :
26
- python-version : ' 3.x'
30
+ python-version : 3.x
27
31
28
32
- name : Install Molecule dependencies
29
33
run : |
30
34
pip3 install ansible-base==2.10.3
31
35
pip3 install ansible==2.10.3
32
36
pip3 install ansible-lint==4.3.7
33
37
pip3 install yamllint==1.25.0
34
- pip3 install ' molecule[docker]' ==3.2.1
38
+ pip3 install " molecule[docker]" ==3.2.1
35
39
pip3 install docker==4.4.0
36
40
37
41
- name : Run Molecule tests
38
42
run : molecule test -s ${{ matrix.scenario }}
39
- if : contains(${{ matrix.scenario }}, ' plus' ) && !(github.event_name == ' pull_request' && github.event.pull_request.head.repo.fork)
43
+ if : contains(${{ matrix.scenario }}, " plus" ) && !(github.event_name == " pull_request" && github.event.pull_request.head.repo.fork)
40
44
env :
41
- PY_COLORS : ' 1 '
42
- ANSIBLE_FORCE_COLOR : ' 1 '
45
+ PY_COLORS : " 1 "
46
+ ANSIBLE_FORCE_COLOR : " 1 "
43
47
NGINX_CRT : ${{ secrets.NGINX_CRT }}
44
48
NGINX_KEY : ${{ secrets.NGINX_KEY }}
You can’t perform that action at this time.
0 commit comments