github.com/vipernet-xyz/tendermint-core@v0.32.0/.github/workflows/tests.yml (about) 1 name: Tests 2 on: 3 pull_request: 4 push: 5 branches: 6 - master 7 - release/** 8 9 jobs: 10 cleanup-runs: 11 runs-on: ubuntu-latest 12 steps: 13 - uses: rokroskar/workflow-run-cleanup-action@master 14 env: 15 GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 16 if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" 17 build: 18 name: Build 19 runs-on: ubuntu-latest 20 steps: 21 - uses: actions/setup-go@v2-beta 22 - name: Set GOBIN 23 run: | 24 echo "::add-path::$(go env GOPATH)/bin" 25 - uses: actions/checkout@v2 26 - name: install 27 run: make install install_abci 28 # Cache bin 29 - uses: actions/cache@v1 30 with: 31 path: ~/go/bin 32 key: ${{ runner.os }}-go-tm-binary 33 34 test_abci_apps: 35 runs-on: ubuntu-latest 36 needs: Build 37 steps: 38 - uses: actions/setup-go@v2-beta 39 - name: Set GOBIN 40 run: | 41 echo "::add-path::$(go env GOPATH)/bin" 42 - uses: actions/checkout@v2 43 - uses: actions/cache@v1 44 with: 45 path: ~/go/bin 46 key: ${{ runner.os }}-go-tm-binary 47 - name: test_abci_apps 48 run: abci/tests/test_app/test.sh 49 shell: bash 50 51 test_abci_cli: 52 runs-on: ubuntu-latest 53 needs: Build 54 steps: 55 - uses: actions/setup-go@v2-beta 56 - name: Set GOBIN 57 run: | 58 echo "::add-path::$(go env GOPATH)/bin" 59 - uses: actions/checkout@v2 60 - uses: actions/cache@v1 61 with: 62 path: ~/go/bin 63 key: ${{ runner.os }}-go-tm-binary 64 - run: abci/tests/test_cli/test.sh 65 shell: bash 66 67 test_apps: 68 runs-on: ubuntu-latest 69 needs: Build 70 steps: 71 - uses: actions/setup-go@v2-beta 72 - name: Set GOBIN 73 run: | 74 echo "::add-path::$(go env GOPATH)/bin" 75 - uses: actions/checkout@v2 76 - uses: actions/cache@v1 77 with: 78 path: ~/go/bin 79 key: ${{ runner.os }}-go-tm-binary 80 - name: test_apps 81 run: test/app/test.sh 82 shell: bash