Add GH actions (#37)
* 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)
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/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 ..
|
||||
Reference in New Issue
Block a user