Liveness CI Test (#6445)
* Initial commit * More updates * Fix tests * CLI test updates * Updates * Updates * Add liveness test workflow * tmp * Update workflow * fix * fix * fix * remove tmp change
This commit is contained in:
@@ -213,3 +213,27 @@ jobs:
|
||||
run: |
|
||||
make test-integration
|
||||
if: "env.GIT_DIFF != ''"
|
||||
|
||||
liveness-test:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: technote-space/get-diff-action@v1
|
||||
id: git_diff
|
||||
with:
|
||||
SUFFIX_FILTER: |
|
||||
.go
|
||||
.mod
|
||||
.sum
|
||||
- name: build image
|
||||
run: |
|
||||
make build-docker-local-simapp
|
||||
- name: start localnet
|
||||
run: |
|
||||
make clean build-sim-linux localnet-start
|
||||
if: "env.GIT_DIFF != ''"
|
||||
- name: test liveness
|
||||
run: |
|
||||
./contrib/localnet_liveness.sh 100 5 50 localhost
|
||||
if: "env.GIT_DIFF != ''"
|
||||
|
||||
Reference in New Issue
Block a user