From 0e434d59560c9fb1a9ae0379d57079b33e194c1b Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sun, 25 Oct 2026 22:06:10 -0400 Subject: [PATCH] ci(test): compile the SVG assets before the widget tests v6.5.0 loads settings icons from assets/new-ui/*.svg.vec, which are gitignored output of compile_graphics.sh. Every build workflow already runs it; test.yml did not, so settings_page_test could not find network_icons/wownero.svg.vec on a fresh checkout. --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 395e62d8f..06216ea3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,6 +88,11 @@ jobs: bash model_generator.sh dart run tool/generate_localization.dart + # The .svg.vec icons are gitignored build output, as on every build + # workflow; widget tests load them through the asset bundle. + - name: Compile SVG assets (res/pictures/*.svg → assets/new-ui/*.svg.vec) + run: ./compile_graphics.sh + - name: flutter analyze (errors are fatal, existing warnings are not) run: flutter analyze lib --no-fatal-infos --no-fatal-warnings