Skip to content

refactor: Use uint256 instead of uint64 for all rates #587

refactor: Use uint256 instead of uint64 for all rates

refactor: Use uint256 instead of uint64 for all rates #587

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
- release/**
jobs:
test-unit-relayer:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
cw-relayer/**/**.go
cw-relayer/go.mod
cw-relayer/go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: 1.19
cache: true
cache-dependency-path: cw-relayer/go.sum
- name: Test Relayer
if: env.GIT_DIFF
run: |
make test-unit-relayer
test-unit-contract:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
cosmwasm/contracts/price-feed/src/*
cosmwasm/contracts/price-feed/Cargo.toml
cosmwasm/Cargo.toml
cosmwasm/Cargo.lock
- uses: actions-rs/toolchain@v1
if: env.GIT_DIFF
with:
toolchain: stable
- name: Test Contracts
if: env.GIT_DIFF
run: |
make test-unit-contract
test-e2e:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
cw-relayer/**/**.go
cw-relayer/go.mod
cw-relayer/go.sum
cosmwasm/contracts/price-feed/src/*
cosmwasm/contracts/price-feed/Cargo.toml
cosmwasm/Cargo.toml
cosmwasm/Cargo.lock
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: 1.19
cache: true
cache-dependency-path: cw-relayer/go.sum
- name: Generate Cargo.lock
if: env.GIT_DIFF
run: |
cargo fetch --verbose --manifest-path ./cosmwasm/Cargo.toml
- name: cache docker layer
uses: satackey/action-docker-layer-caching@v0.0.11
if: env.GIT_DIFF
continue-on-error: true
- name: Test E2E
if: env.GIT_DIFF
run: |
make test-e2e