diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ci.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh new file mode 100755 index 0000000..c89dd0d --- /dev/null +++ b/scripts/ci.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -euo pipefail + +echo "=== Installing dependencies ===" +pip install -e shared/ +pip install pytest pytest-asyncio ruff + +echo "=== Linting ===" +ruff check . +ruff format --check . + +echo "=== Running tests ===" +pytest -v + +echo "=== All checks passed ===" |
