Skip to content

Commit 2276129

Browse files
committed
f Add CI job running basic VSS tests
Wait for the VSS server and use `checkout@v4` Poll the server before running tests so the workflow does not race the startup path, and align the new job with the repository's current `actions/checkout` version. Co-Authored-By: HAL 9000
1 parent 95f3bad commit 2276129

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/vss-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,20 @@ jobs:
2727
2828
steps:
2929
- name: Checkout code
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
with:
3232
path: rust-lightning
3333
- name: Checkout VSS
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535
with:
3636
repository: lightningdevkit/vss-server
3737
path: vss-server
3838

3939
- name: Build and Deploy VSS Server
4040
run: |
4141
cd vss-server/rust
42-
cargo run server/vss-server-config.toml&
42+
cargo run server/vss-server-config.toml > /tmp/vss-server.log 2>&1 &
43+
until curl -sf http://localhost:8080/vss > /dev/null; do sleep 1; done
4344
- name: Run VSS tests
4445
run: |
4546
ls -la

0 commit comments

Comments
 (0)