Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:

- name: Run the quick tests
run: scripts/test-check.sh python

- name: Upload results to coveralls.io
run: uv run coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# TODO: update script for web side when added
web:
Expand Down
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ requires-python = ">=3.14"
# TODO: add entries here as the project starts needing them,
# then run `uv sync` to install and update uv.lock
dependencies = [
"coveralls>=4.1.0",
"numpy>=2.5.2",
]

Expand Down Expand Up @@ -71,3 +72,13 @@ markers = [
"slow: use for slow tests, runs on /test slow comment",
"gpu: use for GPU tests, runs on /test gpu comment",
]


# ---------------------------------------------------------------------------
# coverage: ignore specific files
# ---------------------------------------------------------------------------

[tool.coverage.run]
omit = [
# add omissions here
]
2 changes: 1 addition & 1 deletion scripts/test-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fi
echo "==> Running the '$group' tests (pytest)"

status=0
uv run pytest "${marker_args[@]+"${marker_args[@]}"}" "${report_args[@]+"${report_args[@]}"}" "$@" || status=$?
uv run coverage run -m pytest "${marker_args[@]+"${marker_args[@]}"}" "${report_args[@]+"${report_args[@]}"}" "$@" || status=$?

if [[ $status -eq 5 ]]; then
if [[ "$group" == "python" ]]; then
Expand Down
Loading