Stable test #413
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LPS E2E test | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Set up Go 1.18 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Building LPS environment... | |
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh build | |
- name: Setting LPS environment up... | |
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh up && sleep 300 | |
- name: Checking LPS health... | |
run: docker ps && curl -X GET http://localhost:8080/health | |
- name: Shutting LPS environment down... | |
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh down |