Commit Graph

20 Commits

Author SHA1 Message Date
atheeshp dd148fcd7a
gov: port integration tests (#6120) 2020-05-10 16:25:27 +02:00
Marko 54ed8d7a2c
lint: official action (#6156)
* switch from review dog to official golangci action

* fix release

* disable nolintlint and wsl

* fix linting issues

* have name adhere to required

* add timeout

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-05-07 09:40:49 +00:00
Marko 7cf1efddbe
release: procedure change (#6148) 2020-05-05 18:47:05 -04:00
SaReN f92f6c9dd1
Add CLI tests for simd, distribution (#6095)
* Added cli integration base setup

* Added cmd to simapp

* Fixed ci-lint issues

* Fixed ci-lint issues

* Addressed changes in Makefile

* Updated simd to latest

* Removed testnet and replay commands

* Modified tx command for simcli

* Did code cleanup

* Removed duplication in Makefile

* Refactored cli_test

* Added build-sim to Makefile

* Added test-cli to circleci

* Added tests for staking txns

* Addressed format issues

* refctored tests code

* Added tests for send, staking

* Removed test_hepers file

* Moved test_cover to contrib

* Added codec in fixtures

* Migrated tests to respective modules

* Exported helper methods

* Moved helpers to bank

* Added codec to fixtures

* Migrated tests to modules

* Removed auth helpers from staking

* Did minor code cleanup

* Added test-cli to Makefile

* Updated github actions

* Did code refactor

* Fixed github actions for cli-test

* Added tests for recover keys and fee deduction

* Did minor code cleanup

* Added build flag to cli_tests

* Moved cli_test to tests

* Modified path in Makefile

* Updated codec std in fixtures

* Added doc for cli tests

* Remove ibc genesis validation

* Fix issue number

* Added missing imports

* Add tests for distribution and simd

* Modified naming for test functions

* Added test for withdraw rewards

* Modified test function names

* Fixed import format

* Migrated helpers to package cli

* Fixed github test actions

* Fixed test coverage in actions

* Added build sim to actions

* Apply Alessio patch for tests

* Removed unused imports

* Added init for go tests

* try fix tests

* goimports what wasn't goimports'd

* try fix ci

* add relevant tags to integration tests

* run integration tests separately

* use go build -o flag and let compiler gemerate the binary with the
right extension for the HOST platform

rename cli-test to test-integration

* update ci

* rename

Co-authored-by: atheesh <atheesh1>
Co-authored-by: kaustubhkapatral <54210167+kaustubhkapatral@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: anilCSE <anil@vitwit.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-05-01 20:16:17 +00:00
Aaron Craelius dc1a21a08a
Split proto CI into lint and breakage checks (#6098)
* Split proto CI into lint and breakage checks

* Change names
2020-04-29 18:17:18 +00:00
SaReN 3b71198b25
Merge PR #6033: Add setup for cli_test 2020-04-29 11:52:30 -04:00
Marko 5a9d3cfc70
run diff in each job (#6094) 2020-04-29 16:39:49 +02:00
Marko 4b3eb0ea98
ci: migrate long sims (#6084)
Cancel ci if no .go files have been touched. There is no clean way of
doing this so i opted to `exit 1` on the diff job if no go files were
changed and have builds depend on diff passing

- migrate proto checks  to github actions.
- providing make commands to use buf within docker.
-  test-sim-multi-seed-long migration to github actions. Follows same
  logic and only runs on release branches.
-  add protobuf section to CONTRIBUTING.md.
2020-04-28 16:13:36 +02:00
Marko be6aefd230
add build phase prior to sims & test (#6003)
* add build phase prioir to sims

* fix run

* forgot to checkout code

* Update .github/workflows/sims.yml

Co-Authored-By: Alessio Treglia <alessio@tendermint.com>

* Apply suggestions from code review

Co-Authored-By: Alessio Treglia <alessio@tendermint.com>

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-04-16 22:24:02 +00:00
Marko b26109c5dc
ci: upload artifacts on failure (#5987) 2020-04-16 12:41:22 +02:00
Marko d351a574a8
lint: migrate to review-dog (#5955)
golangci is being deprecated in April 15th.

Remove riot and add sims badge.
2020-04-08 14:47:24 +02:00
Federico Kunze 7325692550
x/staking: skip HistoricalInfo in simulations (#5949)
* x/staking: import and export HistoricalInfo

* staking/types: add HistoricalInfo to GenesisState

* changelog

* add staking module to app BeginBlockers

* remove JSON files

* address comments from review

* add HistoricalInfoKey to skipped prefixes

* fix DiffKVStores

* rm JSON
2020-04-07 22:33:30 +00:00
Marko Baricevic a495e7daee
revert proto changes 2020-03-27 16:04:55 +01:00
Marko Baricevic db39408c44
test pwd 2020-03-27 15:51:04 +01:00
Marko Baricevic 2d45935048
remove shell 2020-03-27 15:48:30 +01:00
Marko Baricevic a4efd33488
move proto to github actions 2020-03-27 15:46:24 +01:00
Marko Baricevic 2be5378d2a
cleanup redundant ci 2020-03-27 15:38:55 +01:00
Marko Baricevic 702c44ff6b
move some sims to github actions 2020-03-27 15:34:16 +01:00
Marko 999a83d698
docs: link checker (#5860) 2020-03-24 11:21:30 +01:00
Marko 43e25e283e Merge PR #5463: docs: add link to iavl documentation 2020-01-02 10:25:09 -05:00