Skip to content

Commit 0bfb55b

Browse files
Codecov
1 parent 3973f45 commit 0bfb55b

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,11 @@ jobs:
9999
run: |
100100
. .venv-${{ matrix.deps }}/bin/activate && \
101101
uv run pytest --cov=curo --cov-report=xml tests/ -v
102-
103-
# - name: Upload coverage report
104-
# if: matrix.deps == 'latest'
105-
# uses: codecov/codecov-action@v4
106-
# with:
107-
# files: ./coverage.xml
108-
# token: ${{ secrets.CODECOV_TOKEN }}
109-
102+
- name: Upload coverage reports to Codecov
103+
uses: codecov/codecov-action@v5
104+
with:
105+
files: ./coverage.xml
106+
token: ${{ secrets.CODECOV_TOKEN }}
110107
- name: Minimize uv cache
111108
if: matrix.deps == 'latest'
112109
run: uv cache prune --ci

README.md

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

33
![Build Status](https://github.com/andrewmurphy353/curo_python/actions/workflows/ci.yml/badge.svg)
4-
[![codecov](https://codecov.io/gh/andrewmurphy353/curo_python/branch/main/graph/badge.svg?token=YOLLETTV0K)](https://codecov.io/gh/andrewmurphy353/curo_python)
4+
[![codecov](https://codecov.io/github/andrewmurphy353/curo_python/graph/badge.svg?token=R4BIC2JV0L)](https://codecov.io/github/andrewmurphy353/curo_python)
55
![GitHub License](https://img.shields.io/github/license/andrewmurphy353/curo_python?logo=github)
66

77
Curo Python is a powerful, open-source library for performing instalment credit financial calculations, from simple loans to complex leasing and hire purchase agreements. Built from the ground up in Python, it leverages pandas DataFrames for cash flow management and SciPy for efficient solving of unknown values or rates using Brent's method.
@@ -124,7 +124,7 @@ For XIRR-style calculations (referencing the first drawdown date), pass `use_xir
124124

125125
Cash flow diagrams visually represent the timing and direction of financial transactions. For example, a €10,000 loan repaid in 6 monthly instalments would look like this:
126126

127-
![Cash Flow Diagram](https://github.com/andrewmurphy353/curo_python/blob/main/docs/assets/images/cfd_01.png)
127+
![Cash Flow Diagram](https://github.com/andrewmurphy353/curo_python/blob/main/docs/assets/images/example-01.png)
128128

129129
- **Down arrows**: Money received (e.g., loan advance).
130130
- **Up arrows**: Money paid (e.g., instalments).

0 commit comments

Comments
 (0)