File tree 5 files changed +16
-11
lines changed
5 files changed +16
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 74
74
conda activate zarr-env
75
75
mkdir ~/blob_emulator
76
76
azurite -l ~/blob_emulator --debug debug.log 2>&1 > stdouterr.log &
77
- pytest --cov=zarr --cov-config=.coveragerc --doctest-plus --cov-report xml --cov=./ --timeout=300
77
+ pytest --cov=zarr --cov-config=pyproject.toml --doctest-plus --cov-report xml --cov=./ --timeout=300
78
78
- uses : codecov/codecov-action@v3
79
79
with :
80
80
# token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ Zarr maintains 100% test coverage under the latest Python stable release (curren
214
214
Python 3.8). Both unit tests and docstring doctests are included when computing
215
215
coverage. Running::
216
216
217
- $ python -m pytest -v --cov=zarr --cov-config=.coveragerc zarr
217
+ $ python -m pytest -v --cov=zarr --cov-config=pyproject.toml zarr
218
218
219
219
will automatically run the test suite with coverage and produce a coverage report.
220
220
This should be 100% before code can be accepted into the main code base.
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ Maintenance
26
26
* Migrate to ``pyproject.toml `` and remove redundant infrastructure.
27
27
By :user: `Saransh Chopra <Saransh-cpp> ` :issue: `1158 `.
28
28
29
+ * Migrate coverage to ``pyproject.toml ``.
30
+ By :user: `John Kirkham <jakirkham> ` :issue: `1250 `.
31
+
29
32
.. _release_2.13.3 :
30
33
31
34
2.13.3
Original file line number Diff line number Diff line change @@ -50,6 +50,17 @@ Discussions = "https://github.com/zarr-developers/zarr-python/discussions"
50
50
Documentation = " https://zarr.readthedocs.io/"
51
51
Homepage = " https://github.com/zarr-developers/zarr-python"
52
52
53
+ [tool .coverage .report ]
54
+ exclude_lines = [
55
+ " pragma: no cover" ,
56
+ " pragma: ${PY_MAJOR_VERSION} no cover" ,
57
+ ]
58
+
59
+ [tool .coverage .run ]
60
+ omit = [
61
+ " zarr/meta_v1.py" ,
62
+ " bench/compress_normal.py" ,
63
+ ]
53
64
54
65
[tool .setuptools ]
55
66
packages = [" zarr" , " zarr._storage" , " zarr.tests" ]
You can’t perform that action at this time.
0 commit comments