Skip to content

Commit e50c3cc

Browse files
authored
Merge pull request #295 from bioimage-io/fix-tf-legacy
Fix tf legacy
2 parents abf2b1e + 4ceebb7 commit e50c3cc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
auto-update-conda: true
8383
# we need mamba to resolve environment-tf
8484
mamba-version: "*"
85-
channel-priority: strict
85+
channel-priority: flexible
8686
activate-environment: bio-core-tf
8787
environment-file: dev/environment-tf.yaml
8888
python-version: ${{ matrix.python-version }}

tests/test_resource_tests/test_test_model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import pathlib
22

3+
import pytest
4+
35

46
def test_error_for_wrong_shape(stardist_wrong_shape):
57
from bioimageio.core.resource_tests import test_model
@@ -58,6 +60,7 @@ def test_validation_section_warning(unet2d_nuclei_broad_model, tmp_path: pathlib
5860
assert summary["status"] == "passed"
5961

6062

63+
@pytest.mark.skipif(pytest.skip_torch, reason="requires torch")
6164
def test_issue289():
6265
"""test for failure case from https://github.com/bioimage-io/core-bioimage-io-python/issues/289"""
6366
import bioimageio.core

0 commit comments

Comments
 (0)