-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 964 Bytes
/
e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: LPS E2E test
on:
push:
branches: [ QA-Test, Stable-Test, master ]
pull_request:
branches: [ QA-Test, Stable-Test, master ]
jobs:
e2e-test:
name: Server initialization and health check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
- name: Update env file
run: cd docker-compose/local/ && ./gh-action-env.sh ${{ secrets.GITHUB_TOKEN }}
- name: Building LPS environment...
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh up
- name: Checking LPS health...
run: 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