You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
792 B

  1. name: Net
  2. # Net creates a 4 node test network with docker-compose
  3. # This workflow is run on every pull request, if a *{.go, .mod, .sum} file has been modified, and push to master and release/** branches
  4. on:
  5. pull_request:
  6. paths:
  7. - "**.go"
  8. - "**.mod"
  9. - "**.sum"
  10. push:
  11. branches:
  12. - master
  13. - release/**
  14. jobs:
  15. net-short:
  16. runs-on: ubuntu-latest
  17. timeout-minutes: 5
  18. steps:
  19. - uses: actions/checkout@v2
  20. - name: 10 Blocks
  21. run: |
  22. set -x
  23. docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang make build-linux
  24. make localnet-start &
  25. ./scripts/localnet-blocks-test.sh 40 5 10 localhost
  26. # Decide if we want to run longer lived testnets