diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:21:26 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:21:26 +0900 |
| commit | d5f672698004ae05f55e5e1f6a6e62a9cebbd530 (patch) | |
| tree | d89b0a7e1eb3cbb4ad889c8ef3eca7ad73aec2ac /scripts/ci.sh | |
| parent | 7388b83e7aac55ec7d8872ce58794b29b33c6522 (diff) | |
ci: add Gitea Actions workflow and CI script
Diffstat (limited to 'scripts/ci.sh')
| -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 ===" |
