-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (28 loc) · 1.01 KB
/
e2e.yml
File metadata and controls
36 lines (28 loc) · 1.01 KB
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
33
34
35
36
name: LPS E2E test
on:
push:
branches: [ QA-Test, Stable-Test, master ]
pull_request:
branches: [ QA-Test, Stable-Test, master ]
permissions: read-all
jobs:
e2e-test:
name: Server initialization and health check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: 'go.mod'
- name: Update env file
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd docker-compose/local/ && ./gh-action-env.sh $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