message: Test `floaty` in CI
diff: @@ -14,6 +14,7 @@ workflows:
  - contract_hackatom
  - contract_ibc_reflect
  - contract_ibc_reflect_send
  + - contract_floaty
  - contract_queue
  - contract_reflect
  - contract_staking
  @@ -476,6 +477,56 @@ jobs:
  - target/wasm32-unknown-unknown/release/deps
  key: cargocache-v2-contract_ibc_reflect_send-rust:1.51.0-{{ checksum "Cargo.lock" }}
  + contract_floaty:
  + docker:
  + - image: rust:1.51.0
  + environment:
  + RUST_BACKTRACE: 1
  + working_directory: ~/cosmwasm/contracts/floaty
  + steps:
  + - checkout:
  + path: ~/cosmwasm
  + - run:
  + name: Version information
  + command: rustc --version; cargo --version; rustup --version
  + - restore_cache:
  + keys:
  + - cargocache-v2-contract_floaty-rust:1.51.0-{{ checksum "Cargo.lock" }}
  + - run:
  + name: Add wasm32 target
  + command: rustup target add wasm32-unknown-unknown && rustup target list --installed
  + - run:
  + name: Build wasm binary
  + command: cargo wasm --locked
  + - run:
  + name: Unit tests
  + command: cargo unit-test --locked
  + - run:
  + name: Integration tests (singlepass backend)
  + command: cargo integration-test --locked --no-default-features
  + - run:
  + name: Build and run schema generator
  + command: cargo schema --locked
  + - run:
  + name: Ensure schemas are up-to-date
  + command: |
  + CHANGES_IN_REPO=$(git status --porcelain)
  + if [[ -n "$CHANGES_IN_REPO" ]]; then
  + echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
  + git status && git --no-pager diff
  + exit 1
  + fi
  + - save_cache:
  + paths:
  + - /usr/local/cargo/registry
  + - target/debug/.fingerprint
  + - target/debug/build
  + - target/debug/deps
  + - target/wasm32-unknown-unknown/release/.fingerprint
  + - target/wasm32-unknown-unknown/release/build
  + - target/wasm32-unknown-unknown/release/deps
  + key: cargocache-v2-contract_floaty-rust:1.51.0-{{ checksum "Cargo.lock" }}
  +
  contract_queue:
  docker:
  - image: rust:1.51.0
  @@ -655,6 +706,10 @@ jobs:
  name: Check formatting of contract hackatom
  working_directory: ~/project/contracts/hackatom
  command: cargo fmt -- --check
  + - run:
  + name: Check formatting of contract floaty
  + working_directory: ~/project/contracts/floaty
  + command: cargo fmt -- --check
  - run:
  name: Check formatting of contract reflect
  working_directory: ~/project/contracts/reflect
  @@ -782,6 +837,13 @@ jobs:
  mkdir -p target/wasm32-unknown-unknown/release
  touch target/wasm32-unknown-unknown/release/ibc_reflect_send.wasm
  cargo clippy --all-targets -- -D warnings
  + - run:
  + name: Clippy linting on floaty
  + working_directory: ~/project/contracts/floaty
  + command: |
  + mkdir -p target/wasm32-unknown-unknown/release
  + touch target/wasm32-unknown-unknown/release/floaty.wasm
  + cargo clippy --all-targets -- -D warnings
  - run:
  name: Clippy linting on queue
  working_directory: ~/project/contracts/queue
  