From 298580e500cbd8f703f201d9bed1abeafa790332 Mon Sep 17 00:00:00 2001 From: Maas-Maarten Zeeman Date: Wed, 28 Oct 2020 21:30:28 +0100 Subject: [PATCH] Create test.yml Add action which builds and tests on pull and pr's to master --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..43309d3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + linux: + name: Test on OTP ${{ matrix.otp_version }} + runs-on: ${{ matrix.os }} + + strategy: + matrix: + otp_version: [21,22,23] + os: [ubuntu-latest] + + container: + image: erlang:${{ matrix.otp_version }} + + steps: + - uses: actions/checkout@v2 + - name: Compile + run: make + - name: Test + run: make test