diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dbdf6277..97df9a4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,9 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Run cargo test - run: cargo test --workspace + run: | + (&>/dev/null cargo run --no-default-features -F storage-mem -- start --log trace --user root --pass root memory &) + cargo test --workspace --features protocol-ws,protocol-http,kv-rocksdb lint: name: Lint @@ -46,6 +48,7 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: + targets: wasm32-unknown-unknown components: rustfmt, clippy - name: Run cargo check @@ -57,6 +60,9 @@ jobs: - name: Run cargo clippy run: cargo clippy -- -W warnings + - name: Run WebAssembly check + run: cargo check --features kv-mem,kv-indxdb,protocol-ws,protocol-http --target wasm32-unknown-unknown --package surrealdb + build: name: Build ${{ matrix.arch }} needs: [test, lint]