From 88ae058c52eb5d09c361f54bfe8c432d54693947 Mon Sep 17 00:00:00 2001 From: Brian Alexander Date: Mon, 2 Dec 2019 10:44:55 -0700 Subject: [PATCH] Github Actions CI --- .github/workflows/elixir.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/elixir.yml diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml new file mode 100644 index 0000000..cef4bca --- /dev/null +++ b/.github/workflows/elixir.yml @@ -0,0 +1,27 @@ +name: Elixir CI + +on: push + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + # Elixir supports security patches for the most recent 5 versions. See + # https://github.com/elixir-lang/elixir/blob/master/lib/elixir/pages/Compatibility%20and%20Deprecations.md + elixir_container: [alpine, 1.9-alpine, 1.8-alpine, 1.7-alpine, 1.6-alpine, 1.5-alpine] + + container: + image: elixir:${{ matrix.elixir_container }} + + steps: + - uses: actions/checkout@v1 + - name: Install Dependencies + run: | + mix local.rebar --force + mix local.hex --force + mix deps.get + - name: Run Tests + run: mix test