smoke.yml 962 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. name: smoke
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. paths:
  8. - '.github/workflows/smoke**'
  9. - '**Makefile'
  10. - '**.go'
  11. - '**.proto'
  12. - 'go.mod'
  13. - 'go.sum'
  14. jobs:
  15. smoke:
  16. name: Run multi node smoke test
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Set up Go 1.18
  20. uses: actions/setup-go@v2
  21. with:
  22. go-version: 1.18
  23. id: go
  24. - name: Check out code into the Go module directory
  25. uses: actions/checkout@v2
  26. - uses: actions/cache@v2
  27. with:
  28. path: ~/go/pkg/mod
  29. key: ${{ runner.os }}-go1.18-${{ hashFiles('**/go.sum') }}
  30. restore-keys: |
  31. ${{ runner.os }}-go1.18-
  32. - name: build
  33. run: make bin-docker
  34. - name: setup docker image
  35. working-directory: ./.github/workflows/smoke
  36. run: ./build.sh
  37. - name: run smoke
  38. working-directory: ./.github/workflows/smoke
  39. run: ./smoke.sh
  40. timeout-minutes: 10