Skip to content

refactor(ci): speed up internal testing #11

refactor(ci): speed up internal testing

refactor(ci): speed up internal testing #11

name: Conformance End-To-End Tests
on:
pull_request:
# Ensures that only a single workflow per PR will run at a time. Cancels in-progress jobs if new commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test-conformance:
name: test-conformance
runs-on: ubuntu-latest
steps:
# Install and setup go
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: checkout interchaintest
uses: actions/checkout@v4
# cleanup environment on self-hosted test runner
- name: clean
run: |-
rm -rf ~/.interchaintest
# run tests
- name: run conformance tests
run: (go test -race -timeout 30m -failfast -v -p 2 ./cmd/interchaintest) || (echo "\n\n*****CHAIN and RELAYER LOGS*****" && cat "$HOME/.interchaintest/logs/interchaintest.log" && exit 1)