@@ -3,9 +3,8 @@ on: ["push", "pull_request"]
3
3
name : Test Coveralls
4
4
5
5
jobs :
6
-
7
- build :
8
- name : Build
6
+ run-cover :
7
+ name : Run Cover
9
8
runs-on : ubuntu-latest
10
9
strategy :
11
10
matrix :
19
18
- false
20
19
arch :
21
20
- x86_64
21
+ openssl :
22
+ - openssl3
23
+ - openssl
22
24
steps :
23
25
- name : Checkout
24
26
uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
@@ -29,41 +31,53 @@ jobs:
29
31
rebar3-version : ${{ matrix.rebar3 }}
30
32
31
33
- name : Run cover
34
+ env :
35
+ QUICER_TLS_VER : ${{ matrix.openssl }}
32
36
run : |
33
37
sudo apt-get install lcov
38
+ export QUICER_TLS_VER
34
39
make cover
35
40
36
41
- name : Coveralls C
37
42
uses : coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
38
43
with :
39
44
github-token : ${{ secrets.GITHUB_TOKEN }}
40
- flag-name : run-c-lcov
45
+ flag-name : run-c-lcov-${{ matrix.openssl }}
41
46
files : coverage/proper-lcov.info coverage/lcov.info
42
47
parallel : true
43
48
git-branch : ${{ github.ref_name }}
44
49
git-commit : ${{ github.sha }}
45
50
46
51
- name : Run cover with feature switches
52
+ env :
53
+ QUICER_TLS_VER : ${{ matrix.openssl }}
47
54
run : |
48
55
sudo apt-get install lcov
49
56
export QUICER_USE_TRUSTED_STORE=1
57
+ export QUICER_TLS_VER
50
58
make cover
51
59
52
60
- name : Coveralls C
53
61
uses : coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
54
62
with :
55
63
github-token : ${{ secrets.GITHUB_TOKEN }}
56
- flag-name : run-c-lcov-feature
64
+ flag-name : run-c-lcov-feature-${{ matrix.openssl }}
57
65
files : coverage/proper-lcov.info coverage/lcov.info
58
66
parallel : true
59
67
git-branch : ${{ github.ref_name }}
60
68
git-commit : ${{ github.sha }}
61
69
62
70
- name : Coveralls Erl
63
71
env :
72
+ COVERALLS_FLAG_NAME : erlang-${{ matrix.openssl }}
64
73
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65
74
run : rebar3 as test coveralls send
66
75
76
+ finalize :
77
+ needs : run-cover
78
+ name : finalize
79
+ runs-on : ubuntu-latest
80
+ steps :
67
81
- name : Coveralls Finished
68
82
uses : coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
69
83
with :
0 commit comments