ci: measure coverage by package name + editable install (fix 0% in CI)
This commit is contained in:
@@ -21,8 +21,8 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Install (with dev extras)
|
||||
run: pip install --quiet ".[dev]"
|
||||
- name: Install (editable, with dev extras)
|
||||
run: pip install --quiet -e ".[dev]"
|
||||
- name: Test + coverage gate (>=90%)
|
||||
run: pytest
|
||||
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ default.unicode = true
|
||||
default.locale = "en-us"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-q --cov=src/intervals_mcp_server --cov-report=term-missing --cov-fail-under=90"
|
||||
addopts = "-q --cov=intervals_mcp_server --cov-report=term-missing --cov-fail-under=90"
|
||||
testpaths = ["tests"]
|
||||
python_files = "test_*.py"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
|
||||
Reference in New Issue
Block a user