Skip to content

Commit 2df446f

Browse files
committed
Enable debug-assertions in WASM tests
1 parent bf6cba6 commit 2df446f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313
build-std:
14-
name: Build and test (std)
14+
name: Build and test
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
@@ -28,7 +28,7 @@ jobs:
2828
- name: Run dylib-tests
2929
run: cargo test -p dylib-tests --features debug-assertions
3030
build-miri:
31-
name: Build and test (Miri)
31+
name: Miri
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v4
@@ -38,19 +38,20 @@ jobs:
3838
- name: Build
3939
run: cargo +nightly miri test --features debug-assertions
4040
wasm:
41+
name: WASM
4142
runs-on: ubuntu-latest
4243
steps:
4344
- uses: actions/checkout@v4
4445
- name: Install wasm-pack
4546
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
4647
- name: Test stringleton-registry (Chrome)
47-
run: cd stringleton-registry && wasm-pack test --headless --chrome && cd ..
48+
run: cd stringleton-registry && wasm-pack test --headless --chrome --features debug-assertions && cd ..
4849
- name: Test stringleton (Chrome)
49-
run: cd stringleton && wasm-pack test --headless --chrome && cd ..
50+
run: cd stringleton && wasm-pack test --headless --chrome --features debug-assertions && cd ..
5051
- name: Test stringleton-registry (Firefox)
51-
run: cd stringleton-registry && wasm-pack test --headless --firefox && cd ..
52+
run: cd stringleton-registry && wasm-pack test --headless --firefox --features debug-assertions && cd ..
5253
- name: Test stringleton (Firefox)
53-
run: cd stringleton && wasm-pack test --headless --firefox && cd ..
54+
run: cd stringleton && wasm-pack test --headless --firefox --features debug-assertions && cd ..
5455
lint:
5556
name: Lint
5657
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)