summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:21:26 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:21:26 +0900
commitd5f672698004ae05f55e5e1f6a6e62a9cebbd530 (patch)
treed89b0a7e1eb3cbb4ad889c8ef3eca7ad73aec2ac /scripts
parent7388b83e7aac55ec7d8872ce58794b29b33c6522 (diff)
ci: add Gitea Actions workflow and CI script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh15
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 ==="