Skip to content

Commit

Permalink
chore: fix and automate tests (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupernaviX authored Jan 18, 2025
1 parent 57f5cbc commit cf2791d
Show file tree
Hide file tree
Showing 11 changed files with 1,600 additions and 468 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Add wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown
- name: Build
run: cargo build --verbose
- name: Run unit tests
run: cargo test --verbose
- name: Audit
run: |
cargo install cargo-audit
cargo audit
Loading

0 comments on commit cf2791d

Please sign in to comment.