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