Skip to content

Merging set of fixes for upgrading smart contracts on Nightshade v2 #409

Merging set of fixes for upgrading smart contracts on Nightshade v2

Merging set of fixes for upgrading smart contracts on Nightshade v2 #409

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Build
env:
IS_GITHUB_ACTION: true
run: cargo +stable build --workspace --target wasm32-unknown-unknown --release
- name: Run Cargo tests
env:
IS_GITHUB_ACTION: true
run: cargo test --workspace -- --nocapture
- name: Run Ava tests
env:
IS_GITHUB_ACTION: true
run: cd sputnikdao2 && sh test.sh