blob: 4811c3022f61a03de051b244e8769d59a2fa1633 [file] [log] [blame]
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
container:
image: erlang:${{matrix.otp}}
name: OTP ${{matrix.otp}}
strategy:
matrix:
otp:
- 23
- 22
- 21
- 20
- 19
steps:
- uses: actions/checkout@v2
- run: rebar3 compile
name: Compile
- run: rebar3 do xref, dialyzer
name: Check
- run: rebar3 do eunit, ct
name: Test