Skip to content

Commit 31047cd

Browse files
committed
Split test into stages
1 parent 659e3e7 commit 31047cd

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/centos.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
matrix:
1616
molecule_distro:
1717
- centos7
18+
- centos8
1819
mongodb_version:
1920
- '4.2'
2021
- '4.0'
@@ -27,9 +28,11 @@ jobs:
2728
uses: actions/checkout@v2
2829
- name: Prepare tests
2930
run: pip install -r requirements.txt
30-
- name: Run tests
31-
run: |
32-
molecule test
33-
AUTH_STATE=enabled molecule test
34-
molecule test -s cluster
35-
AUTH_STATE=enabled molecule test -s cluster
31+
- name: Run default test
32+
run: molecule test
33+
- name: Run default test with enabled authentication
34+
run: AUTH_STATE=enabled molecule test
35+
- name: Run cluster test
36+
run: molecule test -s cluster
37+
- name: Run cluster test with enabled authentication
38+
run: AUTH_STATE=enabled molecule test -s cluster

0 commit comments

Comments
 (0)