Skip to content

Commit 70e6cb9

Browse files
committed
Update test workflow and include badges
1 parent abb9292 commit 70e6cb9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ jobs:
8383
run: uvx hatch run ${{ matrix.env.name }}:coverage xml
8484
- name: Upload coverage
8585
uses: codecov/codecov-action@v4
86+
with:
87+
token: ${{ secrets.CODECOV_TOKEN }}
8688

8789
# Check that all tests defined above pass. This makes it easy to set a single "required" test in branch
8890
# protection instead of having to update it frequently. See https://github.com/re-actors/alls-green#why.

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# CellMapper
22

33
[![Tests][badge-tests]][tests]
4-
[![Documentation][badge-docs]][documentation]
4+
[![Coverage][badge-coverage]][coverage]
5+
[![Pre-commit.ci][badge-pre-commit]][pre-commit]
56

67
[badge-tests]: https://github.com/quadbio/cellmapper/actions/workflows/test.yaml/badge.svg
7-
[badge-docs]: https://img.shields.io/readthedocs/cellmapper
8+
[badge-coverage]: https://codecov.io/gh/quadbio/cellmapper/branch/main/graph/badge.svg
9+
[badge-pre-commit]: https://results.pre-commit.ci/badge/github/quadbio/cellmapper/main.svg
810

911
k-NN-based mapping of cells across representations to tranfer labels, embeddings and expression values. Works for millions of cells, on CPU and GPU, across molecular modalities, between spatial and non-spatial data, for arbitrary query and reference datasets. Using `faiss` to compute k-NN graphs, CellMapper takes about 30 seconds to transfer cell type labels from 1.5M cells to 1.5M cells on a single RTX 4090 with 60 GB CPU memory.
1012

@@ -49,7 +51,8 @@ Please cite this GitHub repo if you find CellMapper useful for your research.
4951
[uv]: https://github.com/astral-sh/uv
5052
[issue tracker]: https://github.com/quadbio/cellmapper/issues
5153
[tests]: https://github.com/quadbio/cellmapper/actions/workflows/test.yaml
52-
[documentation]: https://cellmapper.readthedocs.io
5354
[changelog]: https://cellmapper.readthedocs.io/en/latest/changelog.html
5455
[api documentation]: https://cellmapper.readthedocs.io/en/latest/api.html
5556
[pypi]: https://pypi.org/project/cellmapper
57+
[coverage]: https://codecov.io/gh/quadbio/cellmapper
58+
[pre-commit]: https://results.pre-commit.ci/latest/github/quadbio/cellmapper/main

0 commit comments

Comments
 (0)