Skip to content

Move from CircleCI to Github Actions #10

Move from CircleCI to Github Actions

Move from CircleCI to Github Actions #10

Workflow file for this run

on: push
env:
ELIXIR_ERL_OPTIONS: -kernel prevent_overlapping_partitions false
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
elixir-version: [1.15, 1.14, 1.13]
otp-version: [26, 25, 24]
exclude:
- elixir-version: 1.13
otp-version: 26
name: Tests
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir-version }}
otp-version: ${{ matrix.otp-version }}
- run: mix deps.get
- run: mix compile --warnings-as-errors
if: matrix.elixir-version == 1.15 && matrix.otp-version == 26
- run: mix format --check-formatted
if: matrix.elixir-version == 1.15 && matrix.otp-version == 26
- run: mix test