Skip to content

Commit 09e6177

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 974edd6 commit 09e6177

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
@@ -70,6 +70,7 @@ test-docs.cmd = "sphinx-build -b doctest docs/ docs/_build"
7070
lint.cmd = "ruff check"
7171
docs.cmd = "sphinx-build docs/ docs/_build/ -W --keep-going"
7272
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"
73+
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"
7374

7475

7576
[dependency-groups]

0 commit comments

Comments
 (0)