Skip to content

Disable integration tests wf (WIP) #5

Disable integration tests wf (WIP)

Disable integration tests wf (WIP) #5

Workflow file for this run

name: babylonchain/babylon-contract/wasm-tests
env:
CARGO_TERM_COLOR: always
AWS_ACCESS_KEY_ID: xxxxYKF5
AWS_REGION: xxxxst-1
AWS_SECRET_ACCESS_KEY: xxxxmvcn
S3_BUCKET_PREFIX: xxxxract
jobs:
wasm-build-check-integration:
runs-on: ubuntu-latest
container:
image: rust:1.78.0
steps:
- uses: actions/[email protected]
- name: Build optimised Wasm binaries
run: "./scripts/build-optimizer-ci.sh"
- name: Install cosmwasm-check
run: cargo install --locked --debug --version ^2.0 cosmwasm-check
- name: Check the Wasm binaries' validity
run: cosmwasm-check /home/circleci/project/artifacts/*.wasm
- name: Integration tests based on CosmWasm
run: cargo test --test integration
- uses: actions/[email protected]
with:
path: |-
./artifacts/babylon_contract.wasm
./artifacts/btc_staking.wasm
push-to-s3:
runs-on: ubuntu-latest
needs:
- wasm-build-check-integration
steps:
- uses: actions/[email protected]
with:
path: "/tmp"
- uses: aws-actions/[email protected]
with:
aws-region: "${{ env.AWS_REGION }}"
aws-access-key-id: "${{ secrets.AWS_ACCESS_KEY_ID }}"
aws-secret-access-key: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
- run: aws s3 cp /tmp/babylon_contract.wasm $S3_BUCKET_PREFIX/${{ github.repository }}-${{ github.sha }}.wasm