Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/_ci-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ jobs:
key: ${{ runner.os }}-hermit-cache-${{ steps.hermit-bin-hash.outputs.hash }}
restore-keys: ${{ runner.os }}-hermit-cache-
- name: Prime Flutter SDK
run: flutter --version
run: |
flutter --version
flutter --version --machine > "$RUNNER_TEMP/mobile-flutter-version.json"
printf '%s\n' "$GITHUB_SHA" > "$RUNNER_TEMP/mobile-tested-sha.txt"
- name: Save Hermit package cache
if: always() && steps.hermit-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5
Expand Down Expand Up @@ -112,6 +115,17 @@ jobs:
run: cd mobile && flutter analyze
- name: Test
run: cd mobile && flutter test
- name: Upload mobile failure evidence
if: ${{ failure() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: mobile-failures-${{ github.run_id }}-${{ github.run_attempt }}
path: |
mobile/test/**/failures/*.png
${{ runner.temp }}/mobile-flutter-version.json
${{ runner.temp }}/mobile-tested-sha.txt
if-no-files-found: error
retention-days: 7
- name: Build Android debug APK
run: just mobile-build-android

Expand Down
8 changes: 4 additions & 4 deletions mobile/test/helpers/golden_shot.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ Future<void> loadAppFonts() async {

final sdkFonts = '${flutterSdkRoot()}/bin/cache/artifacts/material_fonts';
await _registerFont('MaterialIcons', <String>[
'$sdkFonts/materialicons-regular.otf',
'$sdkFonts/MaterialIcons-Regular.otf',
]);
await _registerFont('Roboto', <String>[
'$sdkFonts/roboto-regular.ttf',
'$sdkFonts/roboto-medium.ttf',
'$sdkFonts/roboto-bold.ttf',
'$sdkFonts/Roboto-Regular.ttf',
'$sdkFonts/Roboto-Medium.ttf',
'$sdkFonts/Roboto-Bold.ttf',
]);

_fontsLoaded = true;
Expand Down
Loading