Skip to content

Commit 02dae08

Browse files
mkitticlaude
andcommitted
Fix coverage-ignore and docs zarr pin for this branch's layout
The previous commit copied main's config verbatim, but this branch differs from main in two ways that broke CI: - Tests live at numcodecs/tests/ here (main moved them to top-level tests/), so codecov `ignore: tests/**` and coverage `omit = ["tests/*"]` matched nothing. Point both at numcodecs/tests so the subprocess/skipped-test lines stop counting against the 100% project target. - Read the Docs strips the quotes around post_install commands, so the `<` in 'zarr>=3.0.0b2,<3.1' was parsed as a shell input redirection ("cannot open 3.1"). Use 'zarr~=3.0.0' instead, which pins to zarr 3.0.x with no shell metacharacters. Co-Authored-By: Claude Opus 4.8 <[email protected]>
1 parent dd3c1e3 commit 02dae08

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/codecov.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ coverage:
88
default:
99
target: 100
1010
ignore:
11-
- "tests/**"
11+
- "numcodecs/tests/**"
1212
comment:
1313
layout: "diff, files"
1414
behavior: default

‎.readthedocs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build:
99
python: "3.12"
1010
jobs:
1111
post_install:
12-
- python -m pip install --pre 'zarr>=3.0.0b2,<3.1'
12+
- python -m pip install --pre 'zarr~=3.0.0'
1313

1414
sphinx:
1515
configuration: docs/conf.py

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ skip = "./.git,fixture"
119119
ignore-words-list = "ba, compiletime, hist, nd, unparseable"
120120

121121
[tool.coverage.run]
122-
omit = ["tests/*"]
122+
omit = ["numcodecs/tests/*"]
123123

124124
[tool.coverage.report]
125125
exclude_lines = [

0 commit comments

Comments
 (0)