Skip to content

Test for OTP matrix #227

Test for OTP matrix

Test for OTP matrix #227

Workflow file for this run

---
name: test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
plugin:
name: "Plugin: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}}"
runs-on: ubuntu-latest
strategy:
matrix:
elixir: ['1.13']
otp: ['24']
rebar3: ['3.16.1']
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- name: Static analysis
run: rebar3 dialyzer
- name: Common Tests
run: rebar3 ct
consumer:
name: "Consumer: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}}"
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['24', '25', '26', '27.0-rc1']
rebar3: ['3.22.1']
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- name: Test
run: |
cd examples/mylib
DIAGNOSTIC=1 rebar3 ex_doc # test generation happens without errors