Skip to content

docs: Fix typo in README #732

docs: Fix typo in README

docs: Fix typo in README #732

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
- release/**
jobs:
install-tparse:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Display Go Version
run: go version
- uses: actions/cache@v3
id: cache-go-tparse
with:
path: ~/go/bin
key: ${{ runner.os }}-go-tparse-binary
- name: Install tparse
if: steps.cache-go-tparse.outputs.cache-hit != 'true'
run: |
go install github.com/mfridman/[email protected]
test-unit-cover:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: 1.19
cache: true
- name: Test and Create Coverage Report
if: env.GIT_DIFF
run: |
make test-unit-cover
- uses: codecov/codecov-action@v3
if: env.GIT_DIFF
with:
file: ./coverage.txt
fail_ci_if_error: true
build-ojod:
uses: ./.github/workflows/build.yml
liveness-test:
needs: build-ojod
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: gets ojod bin
if: env.GIT_DIFF
uses: actions/download-artifact@v3
with:
name: ojod-linux-amd64
path: ./build
- name: Start single node chain
if: env.GIT_DIFF
run: |
chmod +x ./build/ojod
./scripts/single-node.sh
- name: Test Local Network Liveness
if: env.GIT_DIFF
run: |
sleep 1m
./scripts/localnet-liveness.sh 50 5 50 localhost:26657
test-e2e:
runs-on: ubuntu-latest
needs: install-tparse
timeout-minutes: 25
steps:
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: 1.19
cache: true
- name: Test E2E
if: env.GIT_DIFF
run: |
make test-e2e