Skip to content

Commit a0ce7ed

Browse files
committed
Add Debian test matrix
1 parent 30d9ec8 commit a0ce7ed

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/debian.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Test ansible role on Debian
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
python2:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
molecule_distro:
17+
- debian9
18+
- debian10
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 tests
32+
run: |
33+
molecule test
34+
AUTH_STATE=enabled molecule test

0 commit comments

Comments
 (0)