Skip to content

Minor fixes & improvements, tests on OTP 26 #52

Minor fixes & improvements, tests on OTP 26

Minor fixes & improvements, tests on OTP 26 #52

Workflow file for this run

name: Build, Test, Dialyze
on:
pull_request:
types: [ opened, reopened, synchronize ]
push:
branches:
- 'master'
jobs:
linux:
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: [23, 24, 25, 26]
os: [ubuntu-latest]
container:
image: erlang:${{ matrix.otp_version }}
steps:
- uses: actions/checkout@v2
- name: Run tests
run: rebar3 ct
- name: Documentation
run: rebar3 edoc
- name: ExDoc Documentation
run: if [ $(rebar3 version | awk '{print $5}') -gt 23 ]; then rebar3 ex_doc; fi;
- shell: bash
name: Dialyzer
run: rebar3 dialyzer
- shell: bash
name: Escriptize
run: rebar3 as prod escriptize
- shell: bash
name: Smoke test
run: ./erlperf 'timer:sleep(1).'