Merge pull request #2 from seemueller-io/ci

add test workflow
This commit is contained in:
Geoff Seemueller
2025-05-12 17:35:58 -04:00
committed by GitHub

25
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
TARGET: wasm32-unknown-unknown
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
rustup target add $TARGET
cargo build --verbose --target $TARGET
- name: Run tests
run: cargo test --verbose