Skip to content

Commit ef24e3f

Browse files
robtaylorclaude
andcommitted
Add specific test commands for silicon.py coverage
- Added test-silicon command to run all silicon platform tests with coverage report in terminal - Added test-silicon-html command to generate HTML coverage report for silicon platform - Both commands measure coverage specifically for chipflow_lib.platforms.silicon module 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 5019580 commit ef24e3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ test-docs.cmd = "sphinx-build -b doctest docs/ docs/_build"
6464
lint.cmd = "ruff check"
6565
docs.cmd = "sphinx-build docs/ docs/_build/ -W --keep-going"
6666
test-silicon.cmd = "pytest tests/test_silicon_platform.py tests/test_silicon_platform_additional.py tests/test_silicon_platform_amaranth.py tests/test_silicon_platform_build.py tests/test_silicon_platform_port.py --cov=chipflow_lib.platforms.silicon --cov-report=term"
67+
test-silicon-html.cmd = "pytest tests/test_silicon_platform.py tests/test_silicon_platform_additional.py tests/test_silicon_platform_amaranth.py tests/test_silicon_platform_build.py tests/test_silicon_platform_port.py --cov=chipflow_lib.platforms.silicon --cov-report=html"
6768

6869

6970
[dependency-groups]

0 commit comments

Comments
 (0)