fix up CI test

This commit is contained in:
Benjamin Kampmann
2021-11-25 15:49:20 +01:00
parent 5cf56adce7
commit 42680164ea
2 changed files with 12 additions and 6 deletions

View File

@@ -117,16 +117,22 @@ jobs:
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Unit tests
- name: Checking base
run: |
cd crates/matrix-sdk-base/
wasm-pack test --node
wasm-pack test --firefox --headless --features indexeddb_state_store
wasm-pack test --node --features indexeddb_state_store,indexeddb_cryptostore
wasm-pack test --firefox --headless -- --features indexeddb_state_store,indexeddb_cryptostore
- name: Check
- name: Checking cryptostore
run: |
cd crates/matrix-sdk-base/
wasm-pack test --node -- --features indexeddb_cryptostore
wasm-pack test --firefox --headless -- --features indexeddb_cryptostore
- name: Checking example
run: |
cd crates/matrix-sdk/examples/wasm_command_bot
cargo check --target wasm32-unknown-unknown
npm install && npm test
test-appservice:
name: ${{ matrix.name }}

View File

@@ -19,6 +19,6 @@ web-sys = { version = "0.3.51", features = ["console"] }
[dependencies.matrix-sdk]
path = "../.."
default-features = false
features = ["native-tls", "encryption", "indexeddb_store"]
features = ["native-tls", "encryption", "indexeddb_state_store", "indexeddb_cryptostore"]
[workspace]