File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Ubuntu
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ python3 :
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ molecule_distro :
17
+ - ubuntu1604
18
+ - ubuntu1804
19
+ mongodb_version :
20
+ - ' 4.2'
21
+ - ' 4.0'
22
+ - ' 3.6'
23
+ env :
24
+ MONGODB_VERSION : ${{ matrix.mongodb_version }}
25
+ MOLECULE_DISTRO : ${{ matrix.molecule_distro }}
26
+ steps :
27
+ - name : Checkout
28
+ uses : actions/checkout@v2
29
+ - name : Prepare tests
30
+ run : pip install -r requirements.txt
31
+ - name : Run default test
32
+ run : molecule test
33
+ env :
34
+ PY_COLORS : ' 1'
35
+ ANSIBLE_FORCE_COLOR : ' 1'
36
+ - name : Run default test with enabled authentication
37
+ run : AUTH_STATE=enabled molecule test
38
+ env :
39
+ PY_COLORS : ' 1'
40
+ ANSIBLE_FORCE_COLOR : ' 1'
41
+ - name : Run cluster test
42
+ run : molecule test -s cluster
43
+ env :
44
+ PY_COLORS : ' 1'
45
+ ANSIBLE_FORCE_COLOR : ' 1'
46
+ - name : Run cluster test with enabled authentication
47
+ run : AUTH_STATE=enabled molecule test -s cluster
48
+ env :
49
+ PY_COLORS : ' 1'
50
+ ANSIBLE_FORCE_COLOR : ' 1'
You can’t perform that action at this time.
0 commit comments