@@ -301,6 +301,7 @@ jobs:
301301 test-no-extras :
302302 name : test-no-extras
303303 needs : [targeted-tests-gate]
304+ if : always() && needs.targeted-tests-gate.result == 'success'
304305 strategy :
305306 matrix :
306307 python-version : ["3.10", "3.11", "3.12", "3.13", "3.14"]
@@ -338,6 +339,7 @@ jobs:
338339 test-all-extras :
339340 name : test-all-extras
340341 needs : [targeted-tests-gate]
342+ if : always() && needs.targeted-tests-gate.result == 'success'
341343 strategy :
342344 matrix :
343345 python-version : ["3.10", "3.11", "3.12", "3.13", "3.14"]
@@ -375,6 +377,7 @@ jobs:
375377 test-sklearn-versions :
376378 name : test-sklearn-${{ matrix.sklearn-version }}-python-${{ matrix.python-version }}
377379 needs : [targeted-tests-gate]
380+ if : always() && needs.targeted-tests-gate.result == 'success'
378381 runs-on : ubuntu-latest
379382
380383 strategy :
@@ -406,6 +409,7 @@ jobs:
406409 coverage :
407410 name : coverage
408411 needs : [targeted-tests-gate]
412+ if : always() && needs.targeted-tests-gate.result == 'success'
409413 runs-on : ubuntu-latest
410414 timeout-minutes : 15
411415
@@ -436,6 +440,7 @@ jobs:
436440 doctest-examples :
437441 name : doctest-examples
438442 needs : [targeted-tests-gate]
443+ if : always() && needs.targeted-tests-gate.result == 'success'
439444 runs-on : ubuntu-latest
440445 timeout-minutes : 20
441446
@@ -459,6 +464,7 @@ jobs:
459464 test-examples :
460465 name : test-examples
461466 needs : [targeted-tests-gate]
467+ if : always() && needs.targeted-tests-gate.result == 'success'
462468 runs-on : ubuntu-latest
463469 timeout-minutes : 15
464470
0 commit comments