@@ -168,13 +168,7 @@ coverage:
168168 # - excluding: **/test_*.py
169169 #
170170 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%
178172
179173 #
180174 # Exception: the threshold value given is allowed
@@ -183,12 +177,6 @@ coverage:
183177 #
184178 threshold : 20%
185179
186- # Checks each Python version separately:
187- python-3.11 :
188- flags : ["python3.11"]
189- python-2.7 :
190- flags : ["python2.7"]
191-
192180 #
193181 # Project limits
194182 # --------------
@@ -218,7 +206,7 @@ coverage:
218206 tests :
219207 # Ensure that all tests are executed (tests themselves must be 100% covered)
220208 target : 98%
221- paths : ["** /test_*.py"]
209+ paths : ["python3/tests /test_*.py"]
222210
223211
224212#
@@ -235,24 +223,15 @@ component_management:
235223 - type : project
236224 # `auto` will use the coverage from the base commit (pull request base
237225 # or parent commit) coverage to compare against.
238- target : auto
226+ target : 48
239227 threshold : 2%
240228
241229 - type : patch
242- target : auto
243- threshold : 10 %
230+ target : 80
231+ threshold : 5 %
244232
245233 individual_components :
246234
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-
256235 - component_id : ocaml
257236 name : ocaml
258237 paths : ["ocaml/**", "!**/test_*.py"]
@@ -270,4 +249,5 @@ component_management:
270249
271250 - component_id : test_cases
272251 name : test_cases
273- paths : ["**/test_*.py"]
252+ paths : ["python3/tests/test_*.py"]
253+
0 commit comments