Export RUST_BACKTRACE=1 in `--feature backtrace` CI test
[rust-lightning] / .github / workflows / build.yml
index 9fb37f1b4a27571fd098c2f66f55a0d0d3ecae63..2bb21c2cdbb39b87c5d9f08f8d4fe73d9d4707aa 100644 (file)
@@ -141,8 +141,9 @@ jobs:
           cargo test --verbose --color always --features esplora-async
       - name: Test backtrace-debug builds on Rust ${{ matrix.toolchain }}
         if: "matrix.toolchain == 'stable'"
+        shell: bash # Default on Winblows is powershell
         run: |
-          cd lightning && cargo test --verbose --color always --features backtrace
+          cd lightning && RUST_BACKTRACE=1 cargo test --verbose --color always --features backtrace
       - name: Test on Rust ${{ matrix.toolchain }} with net-tokio
         if: "matrix.build-net-tokio && !matrix.coverage"
         run: cargo test --verbose --color always