From e95be59b979611b243ade1177a66cec285e2fbb3 Mon Sep 17 00:00:00 2001 From: Richard Palomino Date: Mon, 22 Jul 2024 11:22:03 -0500 Subject: [PATCH] Add Github Actions test run (#29) * Add Github Actions test run * Limit to OTP 24-27 for rebar3/GH action compatibility --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5b5ae93 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +--- +name: build +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + ci: + name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}} + runs-on: ${{matrix.os}} + container: + image: erlang:${{matrix.otp_vsn}} + strategy: + matrix: + otp_vsn: [24, 25, 26, 27] + os: [ubuntu-latest] + steps: + - uses: actions/checkout@v4 + - run: export + - run: make test