fix(ci): reduce verbose output in CI jobs

- Add --no-warn-dirty to all nix develop calls to suppress Git dirty-tree warnings
- Switch integration test reporter from expanded to compact (per-test names suppressed on success)
- Show only summary line on integration test success, matching unit/widget test behavior

Closes #8

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas SharedInbox
2026-05-14 20:42:37 +02:00
co-authored by Claude Sonnet 4.6
parent d932f59f25
commit 47bdf3ec35
2 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ jobs:
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- name: Run Full Check Suite
run: nix develop --command task check
run: nix develop --no-warn-dirty --command task check
build-linux:
name: Build Linux Release
@@ -37,7 +37,7 @@ jobs:
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- name: Build Linux
run: nix develop --command task build-linux-release
run: nix develop --no-warn-dirty --command task build-linux-release
deploy-playstore:
name: Build & Deploy to Play Store
@@ -83,4 +83,4 @@ jobs:
env:
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
PLAY_STORE_CONFIG_JSON: ${{ secrets.PLAY_STORE_CONFIG_JSON }}
run: nix develop --command task deploy-android-bundle
run: nix develop --no-warn-dirty --command task deploy-android-bundle
+2 -3
View File
@@ -69,14 +69,13 @@ run_tests() {
local target="${1:-test/integration/}"
if [ -f coverage/lcov.info ]; then
cp coverage/lcov.info coverage/lcov.base.info
fvm flutter test --concurrency=1 --coverage --merge-coverage --reporter expanded "$target" >"$tmp" 2>&1
fvm flutter test --concurrency=1 --coverage --merge-coverage --reporter compact "$target" >"$tmp" 2>&1
rm -f coverage/lcov.base.info
else
fvm flutter test --concurrency=1 --reporter expanded "$target" >"$tmp" 2>&1
fvm flutter test --concurrency=1 --reporter compact "$target" >"$tmp" 2>&1
fi
}
if run_tests "${@:-}"; then
cat "$tmp"
grep -E "^All [0-9]+ tests passed" "$tmp" || tail -1 "$tmp"
else
cat "$tmp"