웹 smook 테스트 분리, helper 경로, 수동 증빙 정리를 통해 마일스톤 완료 근거를 milestone 기준으로 반영해 로드맵 상태를 검토중으로 맞췄다.
37 lines
1.2 KiB
Bash
Executable file
37 lines
1.2 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
if [ -f "$root/packages/messaging_flutter/pubspec.yaml" ]; then
|
|
if command -v flutter >/dev/null 2>&1; then
|
|
(cd "$root/packages/messaging_flutter" && flutter test)
|
|
if [ "${NEXO_FLUTTER_WEB_TEST:-0}" = "1" ]; then
|
|
(cd "$root/packages/messaging_flutter" && flutter test --platform chrome)
|
|
else
|
|
echo "skip packages/messaging_flutter Chrome tests: set NEXO_FLUTTER_WEB_TEST=1 to run Flutter web tests"
|
|
fi
|
|
else
|
|
echo "skip packages/messaging_flutter: flutter not found"
|
|
fi
|
|
fi
|
|
|
|
if [ -f "$root/apps/flutter-test/pubspec.yaml" ]; then
|
|
if command -v flutter >/dev/null 2>&1; then
|
|
(cd "$root/apps/flutter-test" && flutter test)
|
|
else
|
|
echo "skip apps/flutter-test: flutter not found"
|
|
fi
|
|
fi
|
|
|
|
if [ -f "$root/services/core/server/go.mod" ]; then
|
|
if [ "${NEXO_CORE_GO_TEST:-0}" = "1" ]; then
|
|
if command -v go >/dev/null 2>&1; then
|
|
(cd "$root/services/core/server" && go test ./...)
|
|
else
|
|
echo "skip services/core/server: go not found"
|
|
fi
|
|
else
|
|
echo "skip services/core/server: set NEXO_CORE_GO_TEST=1 to run the full Go test suite"
|
|
fi
|
|
fi
|