Add OTP-27 to CI #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI checks | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
otp-version: | |
- "22.3" | |
- "23.3" | |
- "24.3" | |
- "25.3" | |
- "26.2" | |
- "27.0" | |
runs-on: ${{ matrix.platform }} | |
container: | |
image: erlang:${{ matrix.otp-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Compile | |
run: rebar3 compile | |
- name: Format | |
run: rebar3 fmt --check | |
- name: Run Proper Tests | |
run: rebar3 proper -c | |
- name: Coverage | |
run: rebar3 cover --verbose --min_coverage 80 # zip/3 can only be fully tested on OTP-26+ | |
- name: Run Xref | |
run: rebar3 xref | |
- name: Generate Documentation | |
run: rebar3 edoc | |
- name: Run dialyzer | |
run: rebar3 dialyzer |