@@ -168,13 +168,7 @@ coverage:
168
168
# - excluding: **/test_*.py
169
169
#
170
170
paths : ["python3/**", "!**/test_*.py"]
171
-
172
- #
173
- # For python3/** (excluding tests):
174
- #
175
- # For python3, coverage should not be reduced compared to its base:
176
- #
177
- target : auto
171
+ target : 80%
178
172
179
173
#
180
174
# Exception: the threshold value given is allowed
@@ -183,12 +177,6 @@ coverage:
183
177
#
184
178
threshold : 20%
185
179
186
- # Checks each Python version separately:
187
- python-3.11 :
188
- flags : ["python3.11"]
189
- python-2.7 :
190
- flags : ["python2.7"]
191
-
192
180
#
193
181
# Project limits
194
182
# --------------
@@ -218,7 +206,7 @@ coverage:
218
206
tests :
219
207
# Ensure that all tests are executed (tests themselves must be 100% covered)
220
208
target : 98%
221
- paths : ["** /test_*.py"]
209
+ paths : ["python3/tests /test_*.py"]
222
210
223
211
224
212
#
@@ -235,24 +223,15 @@ component_management:
235
223
- type : project
236
224
# `auto` will use the coverage from the base commit (pull request base
237
225
# or parent commit) coverage to compare against.
238
- target : auto
226
+ target : 48
239
227
threshold : 2%
240
228
241
229
- type : patch
242
- target : auto
243
- threshold : 10 %
230
+ target : 80
231
+ threshold : 5 %
244
232
245
233
individual_components :
246
234
247
- - component_id : scripts # this is an identifier that should not be changed
248
- name : scripts # this is a display name, and can be changed freely
249
- # The list of paths that should be in- and excluded in this component:
250
- paths : ["scripts/**", "!scripts/examples/**", "!**/test_*.py"]
251
-
252
- - component_id : scripts/examples
253
- name : scripts/examples
254
- paths : ["scripts/examples/**", "!scripts/**/test_*.py"]
255
-
256
235
- component_id : ocaml
257
236
name : ocaml
258
237
paths : ["ocaml/**", "!**/test_*.py"]
@@ -270,4 +249,5 @@ component_management:
270
249
271
250
- component_id : test_cases
272
251
name : test_cases
273
- paths : ["**/test_*.py"]
252
+ paths : ["python3/tests/test_*.py"]
253
+
0 commit comments