]> git.immae.eu Git - github/fretlink/ansible-netdata_straight.git/blob - .github/workflows/pr.yml
add github action CI
[github/fretlink/ansible-netdata_straight.git] / .github / workflows / pr.yml
1 ---
2 name: test
3 on:
4 push:
5 branches:
6 - master
7 pull_request:
8 branches:
9 - master
10 jobs:
11 build:
12 runs-on: ubuntu-latest
13 strategy:
14 max-parallel: 4
15 matrix:
16 molecule-os:
17 - ubuntu:18.04
18 - ubuntu:20.04
19 - debian:10
20 netdata-installer:
21 - kickstart
22 - kickstart-static64
23
24 steps:
25 - uses: actions/checkout@v2
26 with:
27 path: "${{ github.repository }}"
28 - uses: gofrolist/molecule-action@v2
29 env:
30 MOLECULE_OS: ${{ matrix.molecule-os }}
31 MOLECULE_NETDATA_INSTALLER: ${{ matrix.netdata-installer }}