-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.sh
More file actions
21 lines (18 loc) · 708 Bytes
/
Copy pathtest.sh
File metadata and controls
21 lines (18 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env sh
set -eu
repo="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
cd "$repo"
export UV_PROJECT_ENVIRONMENT="$repo/.venv"
export UV_PYTHON_INSTALL_DIR="$repo/tools/python"
export UV_CACHE_DIR="$repo/.cache/uv"
export UV_TOOL_DIR="$repo/tools/uv-tools"
export CI=true
tools/uv/uv run ruff check apps/api/src apps/api/tests scripts
tools/uv/uv run ruff format --check apps/api/src apps/api/tests scripts
tools/uv/uv run mypy apps/api/src
tools/uv/uv run pytest
tools/uv/uv run python scripts/run_database_tests.py
corepack pnpm@11.9.0 --filter @hearsay/web lint
corepack pnpm@11.9.0 --filter @hearsay/web typecheck
corepack pnpm@11.9.0 --filter @hearsay/web test
corepack pnpm@11.9.0 test:e2e