Skip to content

Add Nix tool dependencies for Cairo, Rust, and others #30

Add Nix tool dependencies for Cairo, Rust, and others

Add Nix tool dependencies for Cairo, Rust, and others #30

Workflow file for this run

name: Hermes Relayer
on:
pull_request: {}
push:
branches: main
# Cancel previous runs of this workflow when a new commit is added to the PR, branch or tag
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
cosmostarknet-integration-tests:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v15
with:
name: ibc-starknet
extraPullNames: hermes-sdk,cosmos-nix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: Swatinem/rust-cache@v2
- name: run integration tests
env:
RUST_BACKTRACE: 1
working-directory: ./relayer
run: |
export ERC20_CONTRACT="$(pwd)/../artifacts/openzeppelin_ERC20Upgradeable.contract_class.json"
nix develop -c \
cargo nextest run --test-threads=2