Skip to content

Commit

Permalink
Merge pull request #25 from rabernat/coverage
Browse files Browse the repository at this point in the history
Coverage
  • Loading branch information
rabernat committed Jul 16, 2020
2 parents b121d52 + 42f5e93 commit eb591da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python package
name: Tests

on: [push, pull_request]

Expand All @@ -22,7 +22,10 @@ jobs:
pip install .[dev]
- name: Test with pytest
run: |
pytest -v
py.test tests -v --cov=rechunker --cov-config .coveragerc --cov-report term-missing
coverage xml
- name: Codecov
uses: codecov/codecov-action@v1

lint:

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ Rechunker
=========

[![Documentation Status](https://readthedocs.org/projects/rechunker/badge/?version=latest)](https://rechunker.readthedocs.io/en/latest/?badge=latest)
![Python package](https://github.com/pangeo-data/rechunker/workflows/Python%20package/badge.svg)
![Tests](https://github.com/pangeo-data/rechunker/workflows/Tests/badge.svg)
[![Coverage](https://codecov.io/github/pangeo-data/rechunker/coverage.svg?branch=master)](https://codecov.io/github/pangeo-data/rechunker?branch=master)


`Rechunker` is a Python package which enables efficient and scalable manipulation of the chunk structure of chunked array formats such as [Zarr](https://zarr.readthedocs.io/en/stable/) and [TileDB](https://tiledb.com/). `Rechunker` takes an input array (or group of arrays) stored in a persistent storage device (such as a filesystem or a cloud storage bucket) and writes out an array (or group of arrays) with the same data, but different chunking scheme, to a new location.

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
}
extras_require["dev"] = extras_require["complete"] + [
"pytest",
"pytest-cov",
"hypothesis",
"flake8",
"black",
"codecov",
]

setup(
Expand Down

0 comments on commit eb591da

Please sign in to comment.