Skip to content

Commit 56a3453

Browse files
committed
chore: code coverage
1 parent a4b25e4 commit 56a3453

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ jobs:
2929

3030
- name: Run tests
3131
run: poetry run pytest
32+
33+
- name: Upload coverage to Codecov
34+
uses: codecov/codecov-action@v3
35+
with:
36+
files: coverage.xml
37+
token: ${{ secrets.CODECOV_TOKEN }} # optional if public repo

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# gen_surv
22

3+
![Coverage](https://codecov.io/gh/<your-user>/<your-repo>/branch/main/graph/badge.svg)
4+
35
**gen_surv** is a Python package for simulating survival data under a variety of models, inspired by the R package [`genSurv`](https://cran.r-project.org/package=genSurv). It supports data generation for:
46

57
- Cox Proportional Hazards Models (CPHM)

0 commit comments

Comments
 (0)