Skip to content

Commit d64b1ac

Browse files
committed
GitHub: run itests in lnd remote signing mode
To make sure `tapd` works when the connected `lnd` node is running in remote-signing mode, we add a new CI target that runs all integration tests in that mode.
1 parent 93f7c08 commit d64b1ac

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/main.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,49 @@ jobs:
316316
format: 'golang'
317317
parallel: true
318318

319+
########################
320+
# run integration tests with lnd remote-signer
321+
########################
322+
integration-test-lnd-remote-signer:
323+
name: run itests with lnd remote-signer
324+
runs-on: ubuntu-latest
325+
steps:
326+
- name: cleanup space
327+
run: rm -rf /opt/hostedtoolcache
328+
329+
- name: git checkout
330+
uses: actions/checkout@v4
331+
332+
- name: Setup go ${{ env.GO_VERSION }}
333+
uses: actions/setup-go@v5
334+
with:
335+
go-version: '${{ env.GO_VERSION }}'
336+
337+
- name: run itest
338+
run: make itest-parallel remote-signing=1
339+
340+
- name: Zip log files on failure
341+
if: ${{ failure() }}
342+
run: 7z a logs-itest-lnd-remotesigner.zip itest/**/*.log
343+
344+
- name: Upload log files on failure
345+
uses: actions/upload-artifact@v4
346+
if: ${{ failure() }}
347+
with:
348+
name: logs-itest-lnd-remotesigner
349+
path: logs-itest-lnd-remotesigner.zip
350+
retention-days: 5
351+
352+
- name: Send coverage
353+
uses: coverallsapp/github-action@v2
354+
if: ${{ success() }}
355+
continue-on-error: true
356+
with:
357+
file: itest/coverage.txt
358+
flag-name: 'itest'
359+
format: 'golang'
360+
parallel: true
361+
319362
########################
320363
# run integration tests with Postgres backend
321364
########################

0 commit comments

Comments
 (0)