Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump to tm 0.34 #57

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ on:
- master

jobs:
build:
name: Build
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.15"
- run: make build

test-coverage:
runs-on: ubuntu-latest
needs: Build
steps:
- uses: actions/checkout@v2
- run: |
go test ./... -mod=readonly -timeout 8m -race -coverprofile=coverage.txt -covermode=atomic
- uses: codecov/codecov-action@v1.0.7
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ BUILD_FLAGS ?= -mod=readonly
build: build-tm-load-test build-tm-outage-sim-server

build-tm-load-test:
go build $(BUILD_FLAGS) \
@go build $(BUILD_FLAGS) \
-ldflags "-X github.com/interchainio/tm-load-test/pkg/loadtest.cliVersionCommitID=`git rev-parse --short HEAD`" \
-o $(BUILD_DIR)/tm-load-test ./cmd/tm-load-test/main.go

build-tm-outage-sim-server:
go build $(BUILD_FLAGS) -o $(BUILD_DIR)/tm-outage-sim-server ./cmd/tm-outage-sim-server/main.go
@go build $(BUILD_FLAGS) -o $(BUILD_DIR)/tm-outage-sim-server ./cmd/tm-outage-sim-server/main.go

build-linux: build-tm-load-test-linux build-tm-outage-sim-server-linux

Expand Down
14 changes: 5 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
module github.com/interchainio/tm-load-test

go 1.13
go 1.15

require (
github.com/gorilla/websocket v1.4.2
github.com/onsi/ginkgo v1.8.0 // indirect
github.com/onsi/gomega v1.5.0 // indirect
github.com/prometheus/client_golang v1.7.1
github.com/prometheus/client_golang v1.8.0
github.com/satori/go.uuid v1.2.0
github.com/sirupsen/logrus v1.6.0
github.com/spf13/cobra v1.0.0
github.com/tendermint/go-amino v0.15.0 // indirect
github.com/tendermint/tendermint v0.33.5
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
google.golang.org/genproto v0.0.0-20200702021140-07506425bd67 // indirect
github.com/spf13/cobra v1.1.1
github.com/tendermint/tendermint v0.34.0
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897
)
Loading