support run tests on remote

This commit is contained in:
appflowy
2021-09-04 15:12:53 +08:00
parent a6346dffae
commit ccb51234c5
32 changed files with 529 additions and 522 deletions

View File

@ -5,16 +5,15 @@ dependencies = ["rm_cache"]
description = "Build desktop targets."
script = '''
cd rust-lib
cargo test --features "flowy-workspace/mock_server","flowy-user/mock_server"
cargo test
'''
[tasks.test_remote]
dependencies = ["rm_cache", "run_server"]
[tasks.run_test_remote_command]
dependencies = ["rm_cache"]
script = """
cd rust-lib
cargo test
cargo test --features "flowy-workspace/http_server","flowy-user/http_server"
"""