mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: cargo test without default features
This commit is contained in:
parent
c407c38dc3
commit
68dfde4cf8
4
.github/workflows/dart_lint.yml
vendored
4
.github/workflows/dart_lint.yml
vendored
@ -25,10 +25,12 @@ jobs:
|
||||
- uses: subosito/flutter-action@v1
|
||||
with:
|
||||
channel: "stable"
|
||||
- name: Flutter pub get
|
||||
run: flutter pub get
|
||||
working-directory: frontend/app_flowy
|
||||
- name: Generate language files
|
||||
working-directory: frontend/app_flowy
|
||||
run:
|
||||
flutter pub get
|
||||
flutter pub run easy_localization:generate -S assets/translations/
|
||||
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
||||
- name: flutter analyze
|
||||
|
4
.github/workflows/rust_test.yml
vendored
4
.github/workflows/rust_test.yml
vendored
@ -37,8 +37,8 @@ jobs:
|
||||
echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH
|
||||
working-directory: frontend
|
||||
- name: RustLib tests
|
||||
run: cargo test
|
||||
run: cargo test --no-default-features
|
||||
working-directory: frontend/rust-lib
|
||||
- name: Sharedlib tests
|
||||
run: cargo test
|
||||
run: cargo test --no-default-features
|
||||
working-directory: shared-lib
|
||||
|
@ -24,11 +24,12 @@ bytes = { version = "1.0" }
|
||||
once_cell = "1"
|
||||
|
||||
lib-dispatch = {path = "../lib-dispatch" }
|
||||
flowy-sdk = {path = "../flowy-sdk", features = ["dart"]}
|
||||
flowy-sdk = {path = "../flowy-sdk"}
|
||||
dart-notify = {path = "../dart-notify" }
|
||||
flowy-derive = {path = "../../../shared-lib/flowy-derive" }
|
||||
|
||||
[features]
|
||||
default = ["flowy-sdk/dart"]
|
||||
flutter = ["dart-notify/dart"]
|
||||
http_server = ["flowy-sdk/http_server", "flowy-sdk/use_bunyan"]
|
||||
#use_serde = ["bincode"]
|
||||
|
@ -1,5 +1,4 @@
|
||||
syntax = "proto3";
|
||||
|
||||
enum FolderNotification {
|
||||
Unknown = 0;
|
||||
UserCreateWorkspace = 10;
|
||||
|
@ -1,5 +1,4 @@
|
||||
syntax = "proto3";
|
||||
|
||||
enum FolderEvent {
|
||||
CreateWorkspace = 0;
|
||||
ReadCurWorkspace = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user