* Add GH actions * Install nightly, test Rust seperately * Nightly for tests * Pin nightly version... maybe this works? * Revert attempted version fix * Re-try nightly pinning... * Try without... * Revert stable experiment * Run action on PR * Action only on PR * Rename push.yml to pr.yml * Bump deps, update actions * Bump backtrace (maybe this helps?) * Don't test rust alongside wasm (split)
23 lines
342 B
Bash
Executable File
23 lines
342 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "*** Testing packages"
|
|
cd packages
|
|
|
|
PACKAGES=( $(ls -1d *) )
|
|
|
|
for PKG in "${PACKAGES[@]}"; do
|
|
if [ -f "$PKG/package.json" ]; then
|
|
echo "*** Testing $PKG"
|
|
cd $PKG
|
|
|
|
echo "*** Testing Rust"
|
|
RUST_BACKTRACE=full rustup run nightly cargo test --release -- --nocapture
|
|
|
|
cd ..
|
|
fi
|
|
done
|
|
|
|
cd ..
|