forked from zhongwencool/observer_cli
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 988 Bytes
/
erlang.yml
File metadata and controls
39 lines (37 loc) · 988 Bytes
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
37
38
39
name: ci
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-24.04
name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}}
strategy:
fail-fast: false
matrix:
include:
- otp: '28'
rebar3: '3.24'
- otp: '27'
rebar3: '3.22'
- otp: '26'
rebar3: '3.22'
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- name: quality checks
run: rebar3 check
- name: test coverage
run: |
epmd -daemon
rebar3 as test do eunit, covertool generate
- name: Upload coverage reports to Codecov
if: matrix.otp == '28'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: zhongwencool/observer_cli
files: _build/test/covertool/*.covertool.xml