chore: optimize CI (#2875)

This commit is contained in:
Lucas.Xu
2023-06-22 21:22:46 +08:00
committed by GitHub
parent a29c8ab27a
commit feceb430cf
6 changed files with 28 additions and 14 deletions

View File

@ -169,7 +169,7 @@ script = ["""
cd appflowy_flutter/
flutter clean
flutter pub get
flutter build ${TARGET_OS} --${BUILD_FLAG} --verbose
flutter build ${TARGET_OS} --${BUILD_FLAG}
"""]
script_runner = "@shell"

View File

@ -33,7 +33,7 @@ dependencies = ["inner_build_test_backend"]
description = "Run flutter unit tests"
script = '''
cd appflowy_flutter
flutter test --dart-define=RUST_LOG=${RUST_LOG} -j, --concurrency=1 --coverage --verbose
flutter test --dart-define=RUST_LOG=${RUST_LOG} -j, --concurrency=1 --coverage
'''
[tasks.rust_unit_test]