Skip to content

Commit

Permalink
Add unit test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
kajacx committed Jul 21, 2023
1 parent 2dd0693 commit ae4049b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,14 @@ jobs:
key: ${{ runner.os }}-build-folders-${{ hashFiles('crates/*/Cargo.toml') }}
restore-keys: ${{ runner.os }}-build-folders

- name: Run unit tests
env:
RUSTFLAGS: "-D warnings"
run: cd crates/wasm-bridge-js && wasm-pack test --node -- --all-features

- name: Check formatting
env:
RUSTFLAGS: "-D warnings"
run: cargo fmt --all -- --check

- name: Check compile warnings
Expand Down
Empty file modified resources/transformed/transform.sh
100644 → 100755
Empty file.
Empty file modified tests/skeletons/wasi_components/run_test.sh
100644 → 100755
Empty file.

0 comments on commit ae4049b

Please sign in to comment.