File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI Checks - LND Integration Tests
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ check-lnd :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout repository
10
+ uses : actions/checkout@v4
11
+
12
+ - name : Create temporary directory for LND data
13
+ id : create-temp-dir
14
+ run : echo "LND_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV
15
+
16
+ - name : Start bitcoind, electrs, and LND
17
+ run : docker compose -f docker-compose-lnd.yml up -d
18
+ env :
19
+ LND_DATA_DIR : ${{ env.LND_DATA_DIR }}
20
+
21
+ - name : Run LND integration tests
22
+ run : LND_CERT_PATH=$LND_DATA_DIR/tls.cert LND_MACAROON_PATH=$LND_DATA_DIR/data/chain/bitcoin/regtest/admin.macaroon
23
+ RUSTFLAGS="--cfg lnd_test" cargo test --test integration_tests_lnd -- --exact --show-output
24
+ env :
25
+ LND_DATA_DIR : ${{ env.LND_DATA_DIR }}
You can’t perform that action at this time.
0 commit comments