Skip to content

Commit fab4c7f

Browse files
committed
use long options instead
1 parent 677298c commit fab4c7f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
key: ${{needs.populate-cache.outputs.cache-key}}
164164
fail-on-cache-miss: true
165165
- name: pytest
166-
run: pytest --disable-pytest-warnings --cov=bioimageio --cov-report=xml --cov-append --capture=no --failed-first --doctest-modules --ignore=bioimageio/core/backends --ignore=bioimageio/core/weight_converters
166+
run: pytest --disable-pytest-warnings
167167
env:
168168
BIOIMAGEIO_CACHE_PATH: bioimageio_cache
169169
RUN_EXPENSIVE_TESTS: ${{ matrix.run-expensive-tests && 'true' || 'false' }}

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +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 --ignore=bioimageio/core/backends --ignore=bioimageio/core/weight_converters"
44-
# FIXME: addopts is somehow not respected in the build.yaml workflow, so these opts are copied there!
43+
addopts = "--cov bioimageio --cov-report xml --cov-append --capture no --doctest-modules --failed-first --ignore dogfood --ignore bioimageio/core/backends --ignore bioimageio/core/weight_converters"
4544
testpaths = ["bioimageio/core", "tests"]
4645

4746
[tool.ruff]

0 commit comments

Comments
 (0)