- CI: workflows updates (cd, ci), remove playwright.yml - E2E: global-setup, auth/playlists/profile specs - Remove playwright-report and test-results artifacts from tracking - Backend: auth, handlers, services, workers, migrations - Frontend: components, features, vite config - Add e2e-results.json to gitignore - Docs: REMEDIATION_PROGRESS, audit archive - Rust: chat-server, stream-server updates
40 lines
1.1 KiB
Bash
Executable file
40 lines
1.1 KiB
Bash
Executable file
#!/bin/bash
|
|
# Validation légère pour machines peu puissantes
|
|
# Évite go test ./... et playwright qui peuvent saturer la RAM/CPU
|
|
set -e
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
echo "=== Validation légère v0.101 ==="
|
|
|
|
echo "[1/5] Backend: go build..."
|
|
cd veza-backend-api && go build ./... && cd ..
|
|
echo " OK"
|
|
|
|
echo "[2/5] Frontend: npx tsc --noEmit..."
|
|
cd apps/web && npx tsc --noEmit && cd ../..
|
|
echo " OK"
|
|
|
|
echo "[3/5] Frontend: npm run build..."
|
|
cd apps/web && npm run build && cd ../..
|
|
echo " OK"
|
|
|
|
echo "[4/5] Frontend: tests par groupes (évite saturation)..."
|
|
cd apps/web
|
|
npm run test:auth
|
|
npm run test:hooks
|
|
npm run test:services
|
|
npm run test:misc
|
|
cd ../..
|
|
echo " OK"
|
|
|
|
echo "[5/5] Rust: cargo build..."
|
|
cd veza-chat-server && cargo build --release 2>/dev/null && cd ..
|
|
cd veza-stream-server && cargo build --release 2>/dev/null && cd ..
|
|
echo " OK"
|
|
|
|
echo ""
|
|
echo "=== Validation légère terminée ==="
|
|
echo "Pour une validation complète (CI) : go test, npm test, playwright."
|
|
echo "Sur machine limitée : go test et playwright peuvent être lancés séparément."
|