Skip to content

Tweak rebar.config (update deps then fixed issue warnings) #112

Tweak rebar.config (update deps then fixed issue warnings)

Tweak rebar.config (update deps then fixed issue warnings) #112

Workflow file for this run

name: Common Test
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
build:
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: ['24', '23', '22', '21']
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.14'
- name: Compile
run: rebar3 compile
- name: EUnit tests
run: rebar3 eunit
- name: Dialyzer
run: rebar3 dialyzer
- name: XRef
run: rebar3 xref
- name: Covertool
if: ${{ always() }}
run: rebar3 covertool generate
- uses: codecov/codecov-action@v1
with:
file: _build/test/covertool/elli.covertool.xml
env_vars: OTP_VERSION