Skip to content

add History, use in tests, convert some Duals to floats in wasm exports #54

add History, use in tests, convert some Duals to floats in wasm exports

add History, use in tests, convert some Duals to floats in wasm exports #54

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ "**" ]
workflow_dispatch:
env:
RUST_BACKTRACE: 1
RUST_LOG: info
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: jetli/wasm-pack-action@v0.4.0
- run: wasm-pack build --target web
- run: rm pkg/.gitignore
- name: Push pkg/
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist
FOLDER: pkg
MESSAGE: "{sha}: {msg}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: cargo build
- run: cargo test -- --nocapture