diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2021-04-14 16:05:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 16:05:38 +0200 |
commit | d533407af1f4e5d55bb778fabf4b9b0d9bb1ed56 (patch) | |
tree | 0d7cff3f35d80bebdc2db077360578bbec35da3b /.github | |
parent | 08e40e4a45d715a367dbd60e3fe89553ce479d2c (diff) | |
parent | a6f6a9a9b666bea23302e35037564d5b1993b464 (diff) | |
download | ansible-netdata_straight-d533407af1f4e5d55bb778fabf4b9b0d9bb1ed56.tar.gz ansible-netdata_straight-d533407af1f4e5d55bb778fabf4b9b0d9bb1ed56.tar.zst ansible-netdata_straight-d533407af1f4e5d55bb778fabf4b9b0d9bb1ed56.zip |
Merge pull request #1 from fretlink/add_ci_cd
add github action CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pr.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..dfd5489 --- /dev/null +++ b/.github/workflows/pr.yml | |||
@@ -0,0 +1,33 @@ | |||
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 | - centos:8 | ||
21 | - fedora:latest | ||
22 | netdata-installer: | ||
23 | - kickstart | ||
24 | - kickstart-static64 | ||
25 | |||
26 | steps: | ||
27 | - uses: actions/checkout@v2 | ||
28 | with: | ||
29 | path: "${{ github.repository }}" | ||
30 | - uses: gofrolist/molecule-action@v2 | ||
31 | env: | ||
32 | MOLECULE_OS: ${{ matrix.molecule-os }} | ||
33 | MOLECULE_NETDATA_INSTALLER: ${{ matrix.netdata-installer }} | ||