
https://github.com/actions/checkout/releases/tag/v4.2.2 Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
31 lines
591 B
YAML
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: ['27.0', '25.3', '25.2', '23.2']
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Compile
|
|
run: rebar3 compile
|
|
- name: Dialyzer
|
|
run: rebar3 as test dialyzer
|
|
- name: EUnit
|
|
run: TERM=xterm rebar3 eunit
|