Skip to content

feat: passkey build to gha #5

feat: passkey build to gha

feat: passkey build to gha #5

Workflow file for this run

name: Test Tube Tests
on:
pull_request:
push:
branches:
- test-tube
jobs:
test-tube-tests:
name: Integration tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- name: Install latest nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.1
- name: Clone libwasmv (needed for test-tube)
uses: actions/checkout@v2
with:
repository: CosmWasm/wasmvm
path: ./wasmvm
ref: v1.4.1
token: ${{ secrets.GH_TOKEN }}
- name: Install libwasmv
run: cd ./wasmvm && make build-rust && cd ../
- name: Rust Dependencies Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
artifacts/
key: ${{ runner.os }}-cargo-with-artifacts-${{ hashFiles('**/Cargo.lock') }}
- name: Run build-contracts
run: make build-contracts
- name: Run Test Tube Integration Tests
run: cargo test -- test-tube