mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-11 07:26:53 +00:00
15 lines
479 B
Bash
Executable File
15 lines
479 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Lint and test (parity with: task lint && task test:all). Used by GitHub Actions.
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
poetry run ruff check .
|
|
poetry run ruff format --check .
|
|
pnpm run lint
|
|
poetry run pytest tests/backend --cov=meshchatx/src/backend -q --tb=short
|
|
pnpm run test -- --exclude tests/frontend/i18n.test.js
|
|
pnpm run test tests/frontend/i18n.test.js
|
|
poetry run pytest tests/backend/test_translator_handler.py
|