Fix stub with undefined #105
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
format: | |
name: Format & credo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Install OTP and Elixir | |
uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: 24.3 | |
elixir-version: 1.13.3 | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Run "mix format" | |
run: mix format --check-formatted | |
- name: Credo | |
run: mix credo --strict | |
- 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: 24.3 | |
elixir: 1.13.3 | |
coverage: true | |
- otp: 24.3 | |
elixir: 1.12.3 | |
env: | |
MIX_ENV: test | |
steps: | |
- uses: actions/[email protected] | |
- name: Install OTP and Elixir | |
uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Install dependencies | |
run: mix deps.get --only test | |
- name: Run tests | |
run: mix test --trace |