erlware_commons/.github/workflows/main.yml
2024-05-27 16:26:41 +02:00

31 lines
591 B
YAML

name: Integration tests
on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'
jobs:
build:
name: OTP ${{ matrix.otp_version }} on ${{ 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: Dialyzer
run: rebar3 as test dialyzer
- name: EUnit
run: TERM=xterm rebar3 eunit