From 03a66564133eaa17604c2ce6b7b46d38cd18910d Mon Sep 17 00:00:00 2001 From: Zixuan Chen Date: Sun, 26 Mar 2023 16:47:35 +0800 Subject: [PATCH] chore: fix ci test --- .github/workflows/rust.yml | 6 ++++-- deno.jsonc | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f4d91747..019347b4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,5 +36,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Build run: cargo build --verbose - - name: Run tests - run: deno task test & deno task test-wasm + - name: Run rust tests + run: deno task test + - name: Run wasm tests + run: deno task test-wasm diff --git a/deno.jsonc b/deno.jsonc index b1d23ab2..492f08a9 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -6,7 +6,7 @@ "test": "RUST_BACKTRACE=full cargo nextest run --features=test_utils", "test-all": "deno task test & deno task quick-fuzz & deno task test-wasm", "test-prop": "RUSTFLAGS='--cfg=proptest' cargo nextest run --features=test_utils", - "test-wasm": "cd crates/loro-wasm && deno task dev web && deno task test", + "test-wasm": "cd crates/loro-wasm && deno task release web && deno task test", "check": "cargo clippy --all-features", "quick-fuzz": "cd crates/loro-internal && deno task quick-fuzz", "fix": "cargo clippy --fix --features=test_utils",