diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 251a87e..7759a48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,4 +69,4 @@ jobs: pip install -e ".[dev]" - name: Run tests with pytest - run: pytest + run: pytest --cov --cov-report=xml diff --git a/README.md b/README.md index 4d47efa..9ed512f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # WIP; Sound Source Estimator +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +![Codecov](https://img.shields.io/codecov/c/github/wattai/sound-source-position-estimation) + Brief description of the project and what it aims to accomplish. ## Table of Contents diff --git a/pyproject.toml b/pyproject.toml index 71bddda..20e70b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ dev = [ "ruff~=0.7.1", "pre-commit~=3.5.0", "pytest~=8.3.3", + "pytest-cov", ] [tool.setuptools]