Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions scripts/run_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# Run pytest with coverage
pytest tests --cov --cov-report=html:htmlcov

# Open the coverage report in the default browser
if command -v open > /dev/null; then
open htmlcov/index.html
else
echo "Coverage report generated at: htmlcov/index.html"
fi
Loading