Skip to content

Commit d50db3b

Browse files
committed
Export RUST_BACKTRACE=1 in --feature backtrace CI test
as this test often fails on windows which is hard to debug locally for most contributors.
1 parent f4a8cea commit d50db3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,9 @@ jobs:
148148
cargo test --verbose --color always --features esplora-async
149149
- name: Test backtrace-debug builds on Rust ${{ matrix.toolchain }}
150150
if: "matrix.toolchain == 'stable'"
151+
shell: bash # Default on Winblows is powershell
151152
run: |
152-
cd lightning && cargo test --verbose --color always --features backtrace
153+
cd lightning && RUST_BACKTRACE=1 cargo test --verbose --color always --features backtrace
153154
- name: Test on Rust ${{ matrix.toolchain }} with net-tokio
154155
if: "matrix.build-net-tokio && !matrix.coverage && matrix.build-tx-sync"
155156
run: cargo test --verbose --color always

0 commit comments

Comments
 (0)