fix(ci): reduce noise in CI output (#128)
- Filter flutter pub get package-listing lines (^[+~><] ) in pubGetLayer - Filter build_runner compilation-progress lines (^\[) in setup() and CheckMocks() - Add -q to git commit in CheckMocks to suppress "460 files changed" stats - Wrap flutter test in Coverage, TestBackend, TestIntegration, TestSyncReliability to show only the summary line on success and full output on failure - Apply same build_runner filter to scripts/check_mocks_fresh.sh for local runs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
9dc34cefe5
commit
f2d24a8514
@@ -5,7 +5,14 @@ set -euo pipefail
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
echo "check-mocks: regenerating..."
|
||||
fvm flutter pub run build_runner build --delete-conflicting-outputs 2>&1
|
||||
tmp=$(mktemp)
|
||||
trap 'rm -f "$tmp"' EXIT
|
||||
if fvm flutter pub run build_runner build --delete-conflicting-outputs >"$tmp" 2>&1; then
|
||||
grep -vE '^\[' "$tmp" || true
|
||||
else
|
||||
cat "$tmp"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CHANGED=$(git diff --name-only -- '*.mocks.dart')
|
||||
if [ -n "$CHANGED" ]; then
|
||||
|
||||
Reference in New Issue
Block a user