datasette/pytest.sh
Simon Willison 47c561d9b6 ./pytest.sh -k name_of_test to run a test
This is for 0.65.x branch only - in 1.0 you can run 'uv run pytest' directly.
2026-09-08 10:20:05 -07:00

5 lines
87 B
Bash
Executable file

#!/bin/zsh
set -eu
cd -- "${0:A:h}"
exec uv run --with-editable '.[test]' pytest "$@"