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') 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