Skip to content

Updates Rollbax to use :logger rather than :error_logger #14

Updates Rollbax to use :logger rather than :error_logger

Updates Rollbax to use :logger rather than :error_logger #14

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
format:
name: Code linting
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Elixir environment
uses: erlef/setup-elixir@v1
with:
otp-version: 21.3
elixir-version: 1.8
- run: mix deps.get
- name: Check formatting
run: mix format --check-formatted
- name: Check compilation warnings
run: mix compile --warnings-as-errors
test:
name: Test suite
runs-on: ubuntu-16.04
strategy:
matrix:
versions:
- otp: 18.3
elixir: 1.5
- otp: 21.3
elixir: 1.8
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- name: Set up Elixir environment
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{ matrix.versions.elixir }}
otp-version: ${{ matrix.versions.otp }}
- name: Install dependencies
run: mix deps.get --only test
- name: Run tests
run: mix test