drop support for versions before OTP-17 and bump to 3.0.0

This commit is contained in:
Tristan Sloughter 2020-06-07 12:40:11 -06:00
parent 1bbe8986c7
commit fab436e1d5
No known key found for this signature in database
GPG key ID: AAB97DDECCEB8150
14 changed files with 64 additions and 286 deletions

33
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,33 @@
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 }}
strategy:
matrix:
# important to check a pre-23 version that still uses nodetool
# plus 23 once it is released
otp_version: [22.3.2]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: gleam-lang/setup-erlang@v1.0.0
with:
otp-version: ${{ matrix.otp_version }}
- name: compile
run: rebar3 compile
- name: test
run: rebar3 eunit