Skip to content

Commit a827320

Browse files
Add code coverage report
1 parent fdc58c1 commit a827320

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
run: |
3434
uv run pytest --cov=. --cov-report=xml --cov-report=term
3535
36+
- name: Generate coverage badge
37+
if: matrix.python-version == '3.11'
38+
uses: tj-actions/coverage-badge-py@v2
39+
3640
- name: Upload coverage to Codecov
3741
uses: codecov/codecov-action@v4
3842
with:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
![Python Version](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
44
![Tests](https://github.com/hummerichsander/split-flows/actions/workflows/pytest.yml/badge.svg)
55
![UV Install Check](https://github.com/hummerichsander/split-flows/actions/workflows/uv-install-check.yml/badge.svg)
6+
[![codecov](https://codecov.io/gh/hummerichsander/split-flows/branch/public/graph/badge.svg)](https://codecov.io/gh/hummerichsander/split-flows)
67

78
# Split-Flows: Measure Transport and Information Loss Across Molecular Resolutions
89

0 commit comments

Comments
 (0)