Skip to content

Commit 60b4440

Browse files
committed
Don't run doctests on WASM
1 parent 026ccdd commit 60b4440

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ jobs:
124124
- name: Install Wasmtime
125125
uses: bytecodealliance/actions/wasmtime/setup@v1
126126

127-
# `scene` requires `bevy_asset`, which pulls in `wasm-bindgen` that can't be used with Wasmtime.
127+
# Doc tests and `scene` feature require `bevy_asset`, which pulls in `wasm-bindgen` that can't be used with Wasmtime.
128128
- name: Test
129-
run: cargo test --target wasm32-wasip1 --no-default-features --features=client,server
129+
run: cargo test --lib --tests --target wasm32-wasip1 --no-default-features --features=client,server
130130
env:
131131
CARGO_TARGET_WASM32_WASIP1_RUNNER: wasmtime
132132

0 commit comments

Comments
 (0)