mirror of
https://github.com/aljazceru/lspd.git
synced 2026-01-21 15:04:27 +01:00
add integration tests for LND lsp CLN client
This commit is contained in:
1
.github/actions/setup-clightning/action.yaml
vendored
1
.github/actions/setup-clightning/action.yaml
vendored
@@ -74,6 +74,7 @@ runs:
|
||||
- name: Install dependencies
|
||||
if: steps.cache-core-lightning.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y autoconf automake build-essential git libtool libgmp-dev libsqlite3-dev python3 python3-pip net-tools zlib1g-dev libsodium-dev gettext valgrind libpq-dev shellcheck cppcheck libsecp256k1-dev jq
|
||||
sudo apt-get remove -y protobuf-compiler
|
||||
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.12.0/protoc-3.12.0-linux-x86_64.zip
|
||||
|
||||
16
.github/workflows/integration_tests.yaml
vendored
16
.github/workflows/integration_tests.yaml
vendored
@@ -83,7 +83,7 @@ jobs:
|
||||
- setup-lnd-lsp
|
||||
- setup-cln
|
||||
- build-lspd
|
||||
name: test ${{ matrix.implementation }} ${{ matrix.test }}
|
||||
name: test ${{ matrix.lsp }}-lsp ${{ matrix.client }}-client ${{ matrix.test }}
|
||||
strategy:
|
||||
max-parallel: 6
|
||||
matrix:
|
||||
@@ -103,10 +103,18 @@ jobs:
|
||||
testOfflineNotificationRegularForward,
|
||||
testOfflineNotificationZeroConfChannel,
|
||||
]
|
||||
implementation: [
|
||||
lsp: [
|
||||
LND,
|
||||
CLN
|
||||
]
|
||||
client: [
|
||||
LND,
|
||||
CLN
|
||||
]
|
||||
exclude:
|
||||
- lsp: CLN
|
||||
client: LND
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
@@ -114,8 +122,8 @@ jobs:
|
||||
- name: Run and Process Test State
|
||||
uses: ./.github/actions/test-lspd
|
||||
with:
|
||||
TESTRE: "TestLspd/${{ matrix.implementation }}-lspd:_${{ matrix.test }}"
|
||||
artifact-name: TestLspd-${{ matrix.implementation }}-lspd_${{ matrix.test }}
|
||||
TESTRE: "TestLspd/${{ matrix.lsp }}-lsp-${{ matrix.client}}-client:_${{ matrix.test }}"
|
||||
artifact-name: TestLspd-${{ matrix.lsp }}-lsp-${{ matrix.client}}-client_${{ matrix.test }}
|
||||
bitcoin-version: ${{ env.BITCOIN_VERSION }}
|
||||
LSP_REF: ${{ env.LSP_REF }}
|
||||
CLIENT_REF: ${{ env.CLIENT_REF }}
|
||||
|
||||
Reference in New Issue
Block a user