Skip to content

Commit adb2f74

Browse files
authored
Update workflow (#159)
1 parent 474ff3b commit adb2f74

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
1919
- name: Test bundled
2020
run: |
21-
wasm-pack test --chrome --headless
21+
wasm-pack test --node
2222
- name: Test use prebuild libsqlite3.a
2323
if: matrix.os != 'windows-latest'
2424
run: |
@@ -36,7 +36,7 @@ jobs:
3636
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3737
- name: Test bundled sqlite3mc
3838
run: |
39-
wasm-pack test --chrome --headless --features sqlite3mc
39+
wasm-pack test --node --features sqlite3mc
4040
4141
test_diesel:
4242
runs-on: ubuntu-latest
@@ -64,7 +64,7 @@ jobs:
6464
cd rusqlite
6565
printf "[patch.crates-io]\n" >> Cargo.toml
6666
printf "sqlite-wasm-rs = { path = \"..\" }\n" >> Cargo.toml
67-
WASM_BINDGEN_TEST_TIMEOUT=60 wasm-pack test --chrome --headless --features modern-full
67+
WASM_BINDGEN_TEST_TIMEOUT=60 wasm-pack test --node --features modern-full
6868
6969
test_clippy:
7070
runs-on: ubuntu-latest
@@ -84,7 +84,7 @@ jobs:
8484
- name: Test implement-a-vfs example
8585
run: |
8686
cd examples/implement-a-vfs
87-
wasm-pack test --chrome --headless -- -- --nocapture
87+
wasm-pack test --node -- -- --nocapture
8888
8989
test_fmt:
9090
runs-on: ubuntu-latest
@@ -122,8 +122,8 @@ jobs:
122122
run: |
123123
rustup toolchain install 1.82.0
124124
rustup default 1.82.0
125-
wasm-pack test --chrome --headless
126-
wasm-pack test --chrome --headless --features sqlite3mc
125+
wasm-pack test --node
126+
wasm-pack test --node --features sqlite3mc
127127
128128
test_nodejs:
129129
strategy:
@@ -152,7 +152,7 @@ jobs:
152152
- name: Test
153153
run: |
154154
cd extensions/sqlite-vec
155-
wasm-pack test --chrome --headless
155+
wasm-pack test --node
156156
157157
test_sqlite_wasm_vfs:
158158
strategy:
@@ -166,7 +166,7 @@ jobs:
166166
- name: Test
167167
run: |
168168
cd crates/sqlite-wasm-vfs
169-
wasm-pack test --chrome --headless
169+
wasm-pack test --node
170170
171171
test_sqlite_wasm_tests:
172172
strategy:

examples/implement-a-vfs/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
//!
33
//! We want to implement a simple memory VFS
44
5-
wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
6-
75
use sqlite_wasm_rs::{
86
sqlite3_close, sqlite3_exec, sqlite3_file, sqlite3_open_v2, sqlite3_vfs,
97
utils::{

0 commit comments

Comments
 (0)