ci: serial flutter unit test (#1814)

This commit is contained in:
Nathan.fooo
2023-02-07 10:48:28 +08:00
committed by GitHub
parent e2f6f68923
commit 5f760ad578
6 changed files with 36 additions and 19 deletions

View File

@ -18,12 +18,12 @@ cargo make --profile test-linux dart_unit_test_inner
script_runner = "@shell"
[tasks.dart_unit_test_inner]
env = { RUST_LOG = "info" }
env = { RUST_LOG = "info", TEST_RUST_LOG = "info" }
dependencies = ["build-test-lib"]
description = "Run flutter unit tests"
script = '''
cd app_flowy
flutter test --dart-define=RUST_LOG=${TEST_RUST_LOG} --concurrency=1
flutter test --dart-define=RUST_LOG=${TEST_RUST_LOG} -j, --concurrency=1
'''
[tasks.rust_unit_test]