Skip to content

v0.1.10

v0.1.10 #2

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
jobs:
linux:
runs-on: ubuntu-latest
name: Linux ${{ matrix.elixir }}, ${{ matrix.otp }}
strategy:
matrix:
elixir: ["1.17.3"]
otp: ["27.1.2"]
env:
MIX_ENV: test
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: Compile and check warnings
run: mix compile --warnings-as-errors
- name: Check formatting
run: mix format --check-formatted
- name: Run tests
run: mix test
macos:
runs-on: macos-latest
name: macOS
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- name: Install
run: |
brew update
brew install erlang@27 elixir
- name: Install dependencies
run: mix deps.get
- name: Compile and check warnings
run: mix compile --warnings-as-errors
- name: Check formatting
run: mix format --check-formatted
- name: Run tests
run: mix test