Merge pull request #170 from ariel-anieli/pr-otp-bump #56
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: 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 }} | |
container: | |
image: erlang:${{matrix.otp_version}} | |
strategy: | |
matrix: | |
otp_version: ['25.3', '25.2', '23.2'] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Compile | |
run: rebar3 compile | |
- name: Dialyze | |
run: rebar3 as test dialyzer | |
- name: EUnit tests | |
run: TERM=xterm rebar3 eunit |