chore: undo cargo.toml changes #244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Checks - CLN Integration Tests | |
on: [push, pull_request] | |
jobs: | |
check-cln: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y socat | |
- name: Start bitcoind, electrs, and lightningd | |
run: docker compose -f docker-compose-cln.yml up -d | |
- name: Forward lightningd RPC socket | |
run: | | |
docker exec ldk-node-cln-1 sh -c "socat -d -d TCP-LISTEN:9937,fork,reuseaddr UNIX-CONNECT:/root/.lightning/regtest/lightning-rpc&" | |
socat -d -d UNIX-LISTEN:/tmp/lightning-rpc,reuseaddr,fork TCP:127.0.0.1:9937& | |
- name: Run CLN integration tests | |
run: RUSTFLAGS="--cfg cln_test" cargo test --test integration_tests_cln |