Merge pull request #1 from zkemail/feat/add-logger #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install PocketIC server | |
uses: dfinity/pocketic@main | |
with: | |
pocket-ic-server-version: '6.0.0' | |
- name: Confirm successful installation | |
run: ${{ env.POCKET_IC_BIN }} --version | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.78.0 | |
override: true | |
components: rustfmt, clippy | |
target: wasm32-unknown-unknown | |
- name: Build rust to wasm | |
run: cargo build --target wasm32-unknown-unknown | |
- name: Run tests | |
run: cargo test |