mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 07:26:43 -04:00
CI - move pnpm build into cargo ci test (#4855)
# Description of Changes To make `cargo ci test` more properly include the full test logic. # API and ABI breaking changes <!-- If this is an API or ABI breaking change, please apply the corresponding GitHub label. --> # Expected complexity level and risk 1 # Testing honestly none --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
This commit is contained in:
@@ -255,10 +255,6 @@ jobs:
|
||||
|
||||
wasm-bindgen --version
|
||||
|
||||
- name: Build typescript module sdk
|
||||
working-directory: crates/bindings-typescript
|
||||
run: pnpm build
|
||||
|
||||
# Source emsdk environment to make emcc (Emscripten compiler) available in PATH.
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
||||
@@ -306,6 +306,8 @@ fn main() -> Result<()> {
|
||||
|
||||
match cli.cmd {
|
||||
Some(CiCmd::Test) => {
|
||||
cmd!("pnpm", "build").dir("crates/bindings-typescript").run()?;
|
||||
|
||||
// TODO: This doesn't work on at least user Linux machines, because something here apparently uses `sudo`?
|
||||
|
||||
// Exclude smoketests from `cargo test --all` since they require pre-built binaries.
|
||||
|
||||
Reference in New Issue
Block a user