Skip to content

Commit 9fcbc8b

Browse files
committed
Use github actions
1 parent c4088fb commit 9fcbc8b

File tree

2 files changed

+35
-187
lines changed

2 files changed

+35
-187
lines changed

.github/workflows/centos.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test ansible role on CentOS
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+
container: python:3.6-alpine
15+
strategy:
16+
matrix:
17+
molecule_distro:
18+
- centos7
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:
31+
- pip install -r requirements.txt
32+
- name: Run tests
33+
run:
34+
- molecule test
35+
- AUTH_STATE=enabled molecule test

.travis.yml

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)