Skip to content

Commit

Permalink
Add CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
allsey87 committed Oct 10, 2024
1 parent 873bb6c commit 76111aa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test code
on: [push, pull_request]

jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install the Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
components: rustfmt
- name: Install wasm-bindgen
run: cargo install --git https://github.com/rustwasm/wasm-bindgen.git --tag 0.2.87 wasm-bindgen-cli
- name: Run tests
run: cargo test

0 comments on commit 76111aa

Please sign in to comment.