Skip to content

Update Github CI matrix #45

Update Github CI matrix

Update Github CI matrix #45

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
mix_test:
name: mix test (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir: 1.14.0
otp: 25.0
lint: true
env:
MIX_ENV: test
steps:
- uses: actions/[email protected]
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Install packages
run: |
sudo apt-get install -y -qq inotify-tools
- name: Install Dependencies
run: |
mix local.hex --force
mix local.rebar --force
mix deps.get --only test
- run: mix format --check-formatted
if: matrix.lint
- run: mix compile --warnings-as-errors
if: matrix.lint
- run: mix test