From d6d36322e71c29c9cd8b8619ce55f32aedaf1ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Mon, 1 Mar 2021 18:33:54 +0100 Subject: add github action CI --- .github/workflows/pr.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/pr.yml (limited to '.github/workflows/pr.yml') diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..42a6a4e --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,31 @@ +--- +name: test +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + molecule-os: + - ubuntu:18.04 + - ubuntu:20.04 + - debian:10 + netdata-installer: + - kickstart + - kickstart-static64 + + steps: + - uses: actions/checkout@v2 + with: + path: "${{ github.repository }}" + - uses: gofrolist/molecule-action@v2 + env: + MOLECULE_OS: ${{ matrix.molecule-os }} + MOLECULE_NETDATA_INSTALLER: ${{ matrix.netdata-installer }} -- cgit v1.2.3 From 836e6fc49e2094b02d2b8a714c91465c376deb31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Tue, 2 Mar 2021 11:52:21 +0100 Subject: ci: add redhat based --- .github/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows/pr.yml') diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 42a6a4e..dfd5489 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,6 +17,8 @@ jobs: - ubuntu:18.04 - ubuntu:20.04 - debian:10 + - centos:8 + - fedora:latest netdata-installer: - kickstart - kickstart-static64 -- cgit v1.2.3