forked from paulgray/exml
-
Notifications
You must be signed in to change notification settings - Fork 23
36 lines (34 loc) · 879 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
name: OTP ${{matrix.otp}}
strategy:
matrix:
otp: ['25.0', '24.3', '23.3', '22.3', '21.3']
runs-on: 'ubuntu-20.04'
env:
OTPVER: ${{ matrix.otp }}
steps:
- uses: actions/checkout@v2
- uses: ErlGang/[email protected]
with:
otp-version: ${{ matrix.otp }}
- run: make rebar3
- run: make deps
- run: make test
- run: make dialyzer
if: ${{ matrix.otp == '25.0' }}
- run: make codecov
if: ${{ matrix.otp == '25.0' }}
- run: make gcov
if: ${{ matrix.otp == '25.0' }}
- run: pip install --user codecov
if: ${{ matrix.otp == '25.0' }}
- run: /home/runner/.local/bin/codecov
if: ${{ matrix.otp == '25.0' }}