Merge pull request #163 from ariel-anieli/issue-138-rumany-typos #31
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: ['24.0', '23.3', '22.3', '21.3', '20.3', '19.3'] | |
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 |