Skip to content

feat: Update contract to be deployed with specified relayer address #572

feat: Update contract to be deployed with specified relayer address

feat: Update contract to be deployed with specified relayer address #572

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@v3
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: |
evm/contracts/*
evm/test/*
evm/*
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install packages
run: |
cd evm && yarn install
- name: Test Contracts
if: env.GIT_DIFF
run: |
make test-unit-contract
test-e2e:
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
evm/contracts/*
evm/test/*
evm/*
- uses: actions/setup-go@v3
if: env.GIT_DIFF
with:
go-version: 1.19
cache: true
cache-dependency-path: cw-relayer/go.sum
- name: Test e2e
if: env.GIT_DIFF
run: |
make test-e2e