Skip to content

Commit f3af766

Browse files
committed
ignore docstring tests in backends for their optional dependencies
1 parent 659c395 commit f3af766

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ jobs:
135135
env:
136136
CACHE_NUMBER: 0
137137
id: cache-env
138-
- name: Update env
138+
- name: Restore cached env
139139
run: conda env update --name=${{steps.setup.outputs.env-name}} --file=${{steps.setup.outputs.env-file}} python=${{matrix.python-version}}
140140
if: steps.cache-env.outputs.cache-hit != 'true'
141-
- name: Update cached env
141+
- name: Cache env
142142
if: steps.cache-env.outputs.cache-hit != 'true'
143143
uses: actions/cache/save@v4
144144
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ typeCheckingMode = "strict"
4040
useLibraryCodeForTypes = true
4141

4242
[tool.pytest.ini_options]
43-
addopts = "--cov=bioimageio --cov-report=xml --cov-append --capture=no --doctest-modules --failed-first --ignore=dogfood"
43+
addopts = "--cov=bioimageio --cov-report=xml --cov-append --capture=no --doctest-modules --failed-first --ignore=dogfood --ignore=bioimageio/core/backends"
4444
testpaths = ["bioimageio/core", "tests"]
4545

4646
[tool.ruff]

0 commit comments

Comments
 (0)