mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 14:47:13 -04:00
ci: try to fix dart test
This commit is contained in:
parent
f8f77db79b
commit
926b1666dd
1 changed files with 5 additions and 2 deletions
7
.github/workflows/dart_test.yml
vendored
7
.github/workflows/dart_test.yml
vendored
|
@ -22,7 +22,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- name: Deps Flutter
|
- name: Deps Flutter
|
||||||
run: flutter packages pub get
|
run: |
|
||||||
|
flutter config --enable-linux-desktop
|
||||||
|
flutter doctor
|
||||||
working-directory: frontend/app_flowy
|
working-directory: frontend/app_flowy
|
||||||
- name: Deps Rust
|
- name: Deps Rust
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
@ -34,15 +36,16 @@ jobs:
|
||||||
- name: Code Generation
|
- name: Code Generation
|
||||||
working-directory: frontend/app_flowy
|
working-directory: frontend/app_flowy
|
||||||
run: |
|
run: |
|
||||||
|
flutter packages pub get
|
||||||
flutter packages pub run easy_localization:generate -S ./assets/translations -f keys -O lib/generated -o locale_keys.g.dart
|
flutter packages pub run easy_localization:generate -S ./assets/translations -f keys -O lib/generated -o locale_keys.g.dart
|
||||||
flutter packages pub run build_runner build --delete-conflicting-outputs
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|
||||||
- name: Build FlowySDK
|
- name: Build FlowySDK
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
run: |
|
run: |
|
||||||
flutter config --enable-linux-desktop
|
|
||||||
cargo make --profile development-linux-x86 flowy-sdk-dev
|
cargo make --profile development-linux-x86 flowy-sdk-dev
|
||||||
- name: Run bloc tests
|
- name: Run bloc tests
|
||||||
working-directory: frontend/app_flowy
|
working-directory: frontend/app_flowy
|
||||||
run: |
|
run: |
|
||||||
|
flutter pub get
|
||||||
flutter test
|
flutter test
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue