Skip to content

Use reputer nonce as latestAvailable #2268

Use reputer nonce as latestAvailable

Use reputer nonce as latestAvailable #2268

name: Run Format, Unit Tests, and Integration Tests
on: [pull_request]
jobs:
gofmt:
name: "Go Format Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check code formatting using gofmt
uses: Jerome1337/[email protected]
with:
gofmt-path: '.'
gofmt-flags: '-l -d'
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Test
uses: robherley/[email protected]
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Apply Invariants Patch
run: git apply ./test/fuzz/invariants.patch
- name: Run allora l1 chain
run: bash ./test/local_testnet_l1.sh
- name: IntegrationTest
run: INTEGRATION=TRUE RPC_MODE="RoundRobin" RPC_URLS="http://localhost:26657,http://localhost:26658,http://localhost:26659" /usr/bin/go test -timeout 15m -run ^TestExternalTestSuite$ github.com/allora-network/allora-chain/test/integration -v