Skip to content

Commit

Permalink
v2.1 Flutter - Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisMik committed Dec 6, 2024
1 parent e4a278f commit 16d8b01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/flutter-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
with:
flutter-version: ${{ matrix.flutter-version }}

- name: Copy assets
run: ./copy_assets.sh

- name: Install dependencies
run: flutter pub get

- name: Prepare demo
run: dart scripts/prepare_demo.dart en

- name: Build
run: flutter build apk

Expand All @@ -64,11 +64,11 @@ jobs:
flutter-version: ${{ matrix.flutter-version }}
architecture: x64

- name: Copy assets
run: ./copy_assets.sh

- name: Install dependencies
run: flutter pub get

- name: Prepare demo
run: dart scripts/prepare_demo.dart en

- name: Build
run: flutter build ios --release --no-codesign
3 changes: 2 additions & 1 deletion demo/flutter/integration_test/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void main() {
double errorRate = testData['tests']['language_tests'][t]['error_rate'];
String audioFile = testData['tests']['language_tests'][t]['audio_file'];

for (int p = 0; p < punctuations.length(); p++) {
for (int p = 0; p < punctuations.length; p++) {
transcript = transcript.replaceAll(punctuations[p], "");
}

Expand All @@ -163,5 +163,6 @@ void main() {
await runCheetahProcess(
language, transcript, punctuations, true, errorRate, audioFile);
}
});
});
}

0 comments on commit 16d8b01

Please sign in to comment.