File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : VSS Tests
2+
3+ on : [push, pull_request]
4+
5+ concurrency :
6+ group : ${{ github.workflow }}-${{ github.ref }}
7+ cancel-in-progress : true
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : ubuntu-latest
12+
13+ services :
14+ postgres :
15+ image : postgres:latest
16+ ports :
17+ - 5432:5432
18+ env :
19+ POSTGRES_DB : postgres
20+ POSTGRES_USER : postgres
21+ POSTGRES_PASSWORD : postgres
22+ options : >-
23+ --health-cmd pg_isready
24+ --health-interval 10s
25+ --health-timeout 5s
26+ --health-retries 5
27+
28+ steps :
29+ - name : Checkout code
30+ uses : actions/checkout@v3
31+ with :
32+ path : ldk-node
33+ - name : Checkout VSS
34+ uses : actions/checkout@v3
35+ with :
36+ repository : lightningdevkit/vss-server
37+ path : vss-server
38+
39+ - name : Build and Deploy VSS Server
40+ run : |
41+ cd vss-server/rust
42+ cargo run server/vss-server-config.toml&
43+ - name : Run VSS tests
44+ run : |
45+ cd rust-lightning/lightning-persister
46+ export TEST_VSS_BASE_URL="http://localhost:8080/vss"
47+ RUSTFLAGS="--cfg vss_test" cargo test --features vss vss_store
You can’t perform that action at this time.
0 commit comments