Add coverage and badges
This commit is contained in:
parent
1609582c1f
commit
68ac50acff
2 changed files with 11 additions and 2 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
|
@ -39,5 +39,11 @@ jobs:
|
||||||
python-version-file: "pyproject.toml"
|
python-version-file: "pyproject.toml"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: uv sync --all-extras
|
run: uv sync --all-extras
|
||||||
- name: Run tests
|
- name: Run tests with coverage
|
||||||
run: uv run pytest -m "not integration"
|
run: uv run pytest -m "not integration" --cov=haiku --cov-report=xml
|
||||||
|
- name: Upload coverage to Codecov
|
||||||
|
uses: codecov/codecov-action@v5
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
files: ./coverage.xml
|
||||||
|
fail_ci_if_error: false
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
# Haiku RAG
|
# Haiku RAG
|
||||||
|
|
||||||
|
[](https://github.com/ggozad/haiku.rag/actions/workflows/test.yml)
|
||||||
|
[](https://codecov.io/gh/ggozad/haiku.rag)
|
||||||
|
|
||||||
Agentic RAG built on [LanceDB](https://lancedb.com/), [Pydantic AI](https://ai.pydantic.dev/), and [Docling](https://docling-project.github.io/docling/).
|
Agentic RAG built on [LanceDB](https://lancedb.com/), [Pydantic AI](https://ai.pydantic.dev/), and [Docling](https://docling-project.github.io/docling/).
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue