Skip to content

Commit e16a9ca

Browse files
committed
only run parameterized tests if tests passed so far
1 parent 312440a commit e16a9ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bioimageio/core/_resource_tests.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,10 @@ def load_description_and_test(
477477
enable_determinism(determinism, weight_formats=weight_formats)
478478
for w in weight_formats:
479479
_test_model_inference(rd, w, devices, **deprecated)
480-
if not isinstance(rd, v0_4.ModelDescr):
480+
if (
481+
not isinstance(rd, v0_4.ModelDescr)
482+
and rd.validation_summary.status == "passed"
483+
):
481484
_test_model_inference_parametrized(rd, w, devices)
482485

483486
# TODO: add execution of jupyter notebooks

0 commit comments

Comments
 (0)