소스 검색

fix(ci): Rust workspace test with all features

Lucas Nogueira 3 년 전
부모
커밋
01f8fff34b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      .github/workflows/test-core.yml
  2. 1 1
      core/tauri/Cargo.toml

+ 1 - 1
.github/workflows/test-core.yml

@@ -85,7 +85,7 @@ jobs:
         run: |
           cargo test
           cargo test --features api-all
-          cargo test --all-features
+          cargo test --features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray
 
   test-tauri-cli:
     runs-on: ${{ matrix.platform }}

+ 1 - 1
core/tauri/Cargo.toml

@@ -20,7 +20,7 @@ version = "1.0.0-beta.8"
 
 [package.metadata.docs.rs]
 default-features = false
-features = ["wry", "custom-protocol", "api-all", "cli", "updater", "system-tray", "dox"]
+features = ["compression", "wry", "isolation", "custom-protocol", "api-all", "cli", "updater", "system-tray", "dox"]
 rustdoc-args = [ "--cfg", "doc_cfg" ]
 default-target = "x86_64-unknown-linux-gnu"
 targets = [