erlware_commons/.github/workflows/main.yml
Ariel Otilibili 63b1798b1e OTP bump
* sequel of 17e6f89078
* added R26 in CI/CD, and cleared out dialyzer warnings
* from R26, by default, `-Wno_unknown` suppresses warnings [1]
* in R25, it was the reverse behavior: `-Wunknown` allows warnings [2].

[1] https://www.erlang.org/doc/man/dialyzer.html#warning_options
[2] https://www.erlang.org/docs/25/man/dialyzer#format_warning-1
2024-03-18 01:01:08 +01:00

31 lines
593 B
YAML

name: EUnit
on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'
jobs:
build:
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
container:
image: erlang:${{matrix.otp_version}}
strategy:
matrix:
otp_version: ['26.2', '25.3', '25.2', '23.2']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Dialyze
run: rebar3 as test dialyzer
- name: EUnit tests
run: TERM=xterm rebar3 eunit