diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2021-07-20 12:14:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 12:14:58 +0100 |
commit | 034f5ae3f1d9c01352a71f4717971f727bae57ee (patch) | |
tree | ee78cdcd804940e3321be32d322a08db68d82add /test-dendritejs.sh | |
parent | f63068df3b9efb11f2677dd527994477b806ed19 (diff) |
Add startup testing for Wasm Pinecone build (#1910)
* Only include go-sqlite3 on the relevant binaries
* The driver name is always sqlite3 now
* Update to matrix-org/go-sqlite3-js@e537baa
* Add initial Wasm test harness
* Upgrade go-sqlite3-js
This fixes an error about semicolons in single statements.
* Add browser-like WebSocket API for testing
* Upgrade go-sqlite3-js
This upgrade includes printing panic messages next to stacks.
* Run for all PRs targeting any branch
* Use manual Node caching
* Temporarily run for all pushes
* Use npm ci instead of install
* Use HTTPS auth for repo packages
* Match path style from build.sh
* update utp
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'test-dendritejs.sh')
-rwxr-xr-x | test-dendritejs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-dendritejs.sh b/test-dendritejs.sh new file mode 100755 index 00000000..73e3d735 --- /dev/null +++ b/test-dendritejs.sh @@ -0,0 +1,3 @@ +#!/bin/sh -eu + +GOOS=js GOARCH=wasm go test -v -exec "$(pwd)/test/wasm/index.js" ./cmd/dendritejs-pinecone |