-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: enable sim test, race test (#326)
* test: enable race test * test: enable sim test * fix: implement MarshalJSONPB * fix: BaseAccount marshal/unmarshal * fix: remove param store cache, fix consensus param * fix: distribution key bug * fix: lint errors * fix: modify random param * test: disable cosmovisor test * fix: address conversion bug * docs: fix markdown check failures * test: fix action script of sim test * test: remove an env for private repo * test: fix action script typo * fix: apply comment * chore: fix lint error
- Loading branch information
Woosang Son
authored
Sep 27, 2021
1 parent
023dda2
commit bf81f8a
Showing
14 changed files
with
268 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
name: Sims | ||
# Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) | ||
# This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed | ||
env: | ||
GOPRIVATE: "github.com/line/*" | ||
|
||
# TODO ebony: fix sim test failure | ||
on: | ||
# pull_request: | ||
# push: | ||
# branches: | ||
# - main | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
cleanup-runs: | ||
|
@@ -62,6 +58,7 @@ jobs: | |
with: | ||
PATTERNS: | | ||
**/**.go | ||
!**/**_test.go | ||
go.mod | ||
go.sum | ||
- uses: actions/[email protected] | ||
|
@@ -86,8 +83,9 @@ jobs: | |
run: go version | ||
- uses: technote-space/[email protected] | ||
with: | ||
SUFFIX_FILTER: | | ||
PATTERNS: | | ||
**/**.go | ||
!**/**_test.go | ||
go.mod | ||
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
|
@@ -114,8 +112,9 @@ jobs: | |
run: go version | ||
- uses: technote-space/[email protected] | ||
with: | ||
SUFFIX_FILTER: | | ||
PATTERNS: | | ||
**/**.go | ||
!**/**_test.go | ||
go.mod | ||
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
|
@@ -142,8 +141,9 @@ jobs: | |
run: go version | ||
- uses: technote-space/[email protected] | ||
with: | ||
SUFFIX_FILTER: | | ||
PATTERNS: | | ||
**/**.go | ||
!**/**_test.go | ||
go.mod | ||
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,28 +65,28 @@ jobs: | |
- name: Build | ||
run: GOOS=linux CGO_ENABLED=1 GOARCH=${{ matrix.goarch }} CC=${{ matrix.gcc }} LEDGER_ENABLED=false make build | ||
|
||
# TODO: disable test-race. please enable this after fixing concurrent checkTx | ||
# test-cosmovisor: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/[email protected] | ||
# with: | ||
# go-version: 1.15 | ||
# - name: Display go version | ||
# run: go version | ||
# - uses: technote-space/[email protected] | ||
# id: git_diff | ||
# with: | ||
# PREFIX_FILTER: | | ||
# cosmovisor | ||
# PATTERNS: | | ||
# **/**.go | ||
# go.mod | ||
# go.sum | ||
# - name: Run cosmovisor tests | ||
# run: cd cosmovisor; make | ||
# if: env.GIT_DIFF | ||
# TODO: disable test-cosmovisor; this test uses uploaded binary(cosmos-sdk) | ||
# test-cosmovisor: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/[email protected] | ||
# with: | ||
# go-version: 1.15 | ||
# - name: Display go version | ||
# run: go version | ||
# - uses: technote-space/[email protected] | ||
# id: git_diff | ||
# with: | ||
# PREFIX_FILTER: | | ||
# cosmovisor | ||
# PATTERNS: | | ||
# **/**.go | ||
# go.mod | ||
# go.sum | ||
# - name: Run cosmovisor tests | ||
# run: cd cosmovisor; make | ||
# if: env.GIT_DIFF | ||
|
||
split-test-files: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.