-
Notifications
You must be signed in to change notification settings - Fork 38
71 lines (61 loc) · 1.9 KB
/
cover.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
on: ["push", "pull_request"]
name: Test Coveralls
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
otp:
- 25.3.2
rebar3:
- 3.20.0
build_type:
- RelWithDebInfo
logging:
- false
arch:
- x86_64
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: erlef/setup-beam@2f0cc07b4b9bea248ae098aba9e1a8a1de5ec24c # v1.17.5
with:
otp-version: ${{ matrix.otp }}
rebar3-version: ${{ matrix.rebar3 }}
- name: Run cover
run: |
sudo apt-get install lcov
make cover
- name: Coveralls C
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-c-lcov
files: coverage/proper-lcov.info coverage/lcov.info
parallel: true
git-branch: ${{ github.ref_name }}
git-commit: ${{ github.sha }}
- name: Run cover with feature switches
run: |
sudo apt-get install lcov
export QUICER_USE_TRUSTED_STORE=1
make cover
- name: Coveralls C
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-c-lcov-feature
files: coverage/proper-lcov.info coverage/lcov.info
parallel: true
git-branch: ${{ github.ref_name }}
git-commit: ${{ github.sha }}
- name: Coveralls Erl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: rebar3 as test coveralls send
- name: Coveralls Finished
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true