Have CI working with extra checks
This commit is contained in:
parent
0a4fde35e7
commit
4406953a87
1 changed files with 5 additions and 5 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -12,20 +12,20 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
|
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
container:
|
||||||
|
image: erlang:${{matrix.otp_version}}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
otp_version: ['23.2.1', '22.3.4.2', '21.3.8.16', '20.3.8.21', '19.3.6.13']
|
otp_version: ['23.2', '22.3', '21.3', '20.3', '19.3']
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: bajankristof/setup-erlang@master
|
|
||||||
with:
|
|
||||||
otp-version: ${{ matrix.otp_version }}
|
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: rebar3 compile
|
run: rebar3 compile
|
||||||
|
- name: Dialyze
|
||||||
|
run: rebar3 as test dialyzer
|
||||||
- name: EUnit tests
|
- name: EUnit tests
|
||||||
run: TERM=xterm rebar3 eunit
|
run: TERM=xterm rebar3 eunit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue