Skip to content

refactor: update test matrix to use multi versions of elixir and otp #12

refactor: update test matrix to use multi versions of elixir and otp

refactor: update test matrix to use multi versions of elixir and otp #12

Workflow file for this run

name: Elixir Tests / Static Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
runs-on: ubuntu-22.04
strategy:
matrix:
otp: ['26.x', '27.x']
elixir: ['1.16.3', '1.17.3', '1.18.3']
exclude:
- otp: '27.x'
elixir: '1.16.3'
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Install dependencies
run: mix deps.get
- name: Static Code Analysis - Dialyzer
run: mix dialyzer
- name: Static Code Analysis - Credo
run: mix credo
- name: mix test
run: mix test