Skip to content

Commit ca32603

Browse files
committed
Merge remote-tracking branch 'upstream/stable/v3.x' into merge_stable3
2 parents 44eb93c + 3d68072 commit ca32603

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

.github/workflows/build_dependencies.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ jobs:
110110
key_prefix: IOMgrDeps-${{ inputs.platform }}-${{ inputs.build-type }}-${{ inputs.malloc-impl }}-False
111111
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}
112112

113-
- name: Retrieve Dependencies NuRaftMesg
114-
uses: actions/checkout@main
115-
with:
116-
repository: eBay/nuraft_mesg
117-
path: import/nuraft_mesg
118-
ref: main
119-
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}
120-
121113
- name: Load NuRaftMesg Cache
122114
uses: eBay/sisl/.github/actions/load_conan2@master
123115
with:
@@ -144,13 +136,11 @@ jobs:
144136
fail_on_cache_miss: true
145137
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}
146138

147-
148139
- name: Export Recipes
149140
run: |
150141
sudo apt-get install -y python3-pyelftools libaio-dev
151142
python -m pip install pyelftools
152143
conan export --user oss --channel master import/homestore
153-
conan export --user oss --channel main import/nuraft_mesg
154144
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}
155145

156146
- name: Create and Test Package
@@ -177,6 +167,7 @@ jobs:
177167

178168
- name: Code Coverage Run
179169
run: |
170+
python -m pip install gcovr
180171
conan build \
181172
-o sisl/*:malloc_impl=${{ inputs.malloc-impl }} \
182173
-o iomgr/*:testing=off \
@@ -186,11 +177,12 @@ jobs:
186177
-s:h compiler.cppstd=23 \
187178
--build missing \
188179
.
180+
gcovr --cobertura ./coverage.xml
189181
if: ${{ inputs.testing == 'True' && inputs.tooling == 'Coverage' }}
190182

191183
- name: Upload coverage reports to Codecov
192184
uses: codecov/codecov-action@v5
193185
with:
194-
token: ${{ secrets.CODECOV_TOKEN }}
195-
verbose: true
186+
files: ./coverage.xml
187+
disable_search: true
196188
if: ${{ inputs.testing == 'True' && inputs.tooling == 'Coverage' }}

.github/workflows/conan_build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ on:
55
push:
66
branches:
77
- main
8+
- stable/v3.x
89
pull_request:
910
branches:
1011
- main
12+
- stable/v3.x
1113

1214
jobs:
1315
Build:

gcovr.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
high-threshold = 80
2+
medium-threshold = 65
3+
4+
merge-lines = yes
5+
exclude-unreachable-branches = yes
6+
7+
exclude = .*build.*
8+
exclude = .*flip.*
9+
exclude = .*generate.*
10+
exclude = .*test.*
11+
12+
13+
exclude-lines-by-pattern = .*DEBUG.*
14+
exclude-lines-by-pattern = .*DBG.*
15+
exclude-lines-by-pattern = .*LOG.*
16+
17+
gcov-ignore-parse-errors = all

0 commit comments

Comments
 (0)