Contract test [GET] (#19)

Closes: #17
Depends on: cosmos/cosmos-sdk#4470
This commit is contained in:
Karoly Albert Szabo
2019-06-08 16:04:45 +02:00
committed by Alessio Treglia
parent 3d5780c343
commit 2945a0510e
13 changed files with 765 additions and 467 deletions

View File

@@ -391,6 +391,24 @@ jobs:
- store_artifacts:
path: /go/src/github.com/cosmos/gaia/gaia-windows-res.yml
contract_tests:
<<: *linux_defaults
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run:
name: Get Node.js and test REST implementation against swagger documentation at https://cosmos.network/rpc/
command: |
go get github.com/snikch/goodman/cmd/goodman
make build
make build-contract-tests-hooks
make setup-contract-tests-data
export PATH=~/.local/bin:$PATH
./contrib/get_node.sh && make contract-tests
workflows:
version: 2
test-suite:
@@ -469,4 +487,7 @@ workflows:
- master
requires:
- setup_dependencies
- contract_tests:
requires:
- setup_dependencies