Skip to content

Fix invalid status badge URL #35

Fix invalid status badge URL

Fix invalid status badge URL #35

Workflow file for this run

name: test
on:
push: {branches: main}
pull_request: {branches: main}
jobs:
test:
name: mix test (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir: '1.11'
otp: '23.3'
- elixir: '1.15'
otp: '26.0'
check_formatted: true
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Check formatting
run: mix format --check-formatted
if: matrix.check_formatted
- name: Install dependencies
run: |
mix local.hex --force
mix local.rebar --force
mix deps.get --only test
- name: Execute tests
run: mix test
- name: Compile without warnings
run: MIX_ENV=test mix compile --warnings-as-errors
if: matrix.warnings_as_errors