diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84f1110..cbd7d31 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,8 @@ jobs: - name: Run lint run: make lint - name: Run tests - run: uv run pytest tests/ + run: make test + - name: Run coverage + run: make coverage - name: Prune uv cache run: uv cache prune --ci diff --git a/pyproject.toml b/pyproject.toml index 2870d69..32ad1d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,3 +43,6 @@ line_length = 100 [tool.pytest.ini_options] asyncio_mode = "auto" + +[tool.coverage.report] +fail_under = 95