mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-08 16:49:46 -04:00
83fc5c33d4
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
30 lines
520 B
Bash
Executable File
30 lines
520 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
script_dir="$(readlink -f "$(dirname "$0")")"
|
|
stdb_root="$(realpath "$script_dir/../")"
|
|
|
|
set -euox pipefail
|
|
|
|
cd "$stdb_root"
|
|
|
|
tools/clippy.sh
|
|
|
|
cargo test --all
|
|
|
|
if which python3 >/dev/null ; then
|
|
python3 -m smoketests
|
|
elif which python >/dev/null ; then
|
|
python -m smoketests
|
|
else
|
|
echo "Can't find python, not running smoketests"
|
|
fi
|
|
|
|
if which dotnet >/dev/null ; then
|
|
dotnet test crates/bindings-csharp
|
|
else
|
|
echo "Can't find dotnet, not running smoketests"
|
|
fi
|
|
|