Skip to content

Lazy context resolver #240

Lazy context resolver

Lazy context resolver #240

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
format:
name: Format and compile with warnings as errors
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install OTP and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: 25.1
elixir-version: 1.14.1
- name: Install dependencies
run: mix deps.get
- name: Run "mix format"
run: mix format --check-formatted
- name: Compile with --warnings-as-errors
run: mix compile --warnings-as-errors
test:
name: Test (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- otp: 25.1
elixir: 1.14.1
coverage: true
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v1
- name: Install OTP and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.0
bundler: 2.3.23
- name: Install dependencies
run: mix deps.get --only test
- name: Install liquid gem
run: gem install liquid -v 5.4.0
- name: Run tests
run: mix test --trace