Skip to content

Merge pull request #4 from InjectiveLabs/f/test-tube #5

Merge pull request #4 from InjectiveLabs/f/test-tube

Merge pull request #4 from InjectiveLabs/f/test-tube #5

# Based on https://github.com/actions-rs/example/blob/master/.github/workflows/quickstart.yml
on:
push:
pull_request:
types: [opened]
name: Test tube integration tests
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.78.0
target: wasm32-unknown-unknown
override: true
components: llvm-tools-preview
- name: Compile WASM contracts
uses: actions-rs/cargo@v1
with:
command: build
args: --release --lib --target wasm32-unknown-unknown --locked --workspace --exclude testenv
env:
RUSTFLAGS: "-C link-arg=-s"
- name: Run Integration Tests
uses: actions-rs/cargo@v1
with:
command: test