Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/interoperability.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run interoperability tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
interoperability:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
with:
submodules: true
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
rustflags: ""
# the fixture pulls in a full stock LDK dependency tree, so it's cached on its own lockfile
- name: Cache the stock ldk-node fixture
uses: actions/cache@v4
with:
path: target/interoperability
key: ldk-node-fixture-${{ hashFiles('src/test/interoperability/ldk-node/Cargo.lock') }}
- name: Interoperability tests
run: cargo test interoperability -- --ignored --test-threads=1
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[submodule "rust-lightning"]
path = rust-lightning
url = https://github.com/RGB-Tools/rust-lightning.git
branch = rgb
url = https://github.com/bitwalt/rust-lightning.git
branch = rgb-stock-ldk-interop
shallow = true
1 change: 1 addition & 0 deletions src/test/interoperability/ldk-node/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading
Loading