Skip to content

fix: Don't swap if offer_amount is zero #9

fix: Don't swap if offer_amount is zero

fix: Don't swap if offer_amount is zero #9

name: Integration Test Suite
on:
pull_request:
workflow_dispatch:
env:
RUSTFLAGS: -D warnings
jobs:
test:
name: Integration tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.65.0
target: wasm32-unknown-unknown
override: true
- name: Compile contract for Osmosis
uses: actions-rs/cargo@v1
with:
command: build
args: --locked --target wasm32-unknown-unknown --release --features osmosis
env:
RUST_BACKTRACE: 1
- name: Run Osmosis integration tests
uses: actions-rs/cargo@v1
with:
command: test
args: --locked --test osmosis_tests --features osmosis
env:
RUST_BACKTRACE: 1