Skip to content

Commit 22662ef

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 f082ad4 commit 22662ef

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
@@ -141,8 +141,9 @@ jobs:
141141
cargo test --verbose --color always --features esplora-async
142142
- name: Test backtrace-debug builds on Rust ${{ matrix.toolchain }}
143143
if: "matrix.toolchain == 'stable'"
144+
shell: bash # Default on Winblows is powershell
144145
run: |
145-
cd lightning && cargo test --verbose --color always --features backtrace
146+
cd lightning && RUST_BACKTRACE=1 cargo test --verbose --color always --features backtrace
146147
- name: Test on Rust ${{ matrix.toolchain }} with net-tokio
147148
if: "matrix.build-net-tokio && !matrix.coverage"
148149
run: cargo test --verbose --color always

0 commit comments

Comments
 (0)