From 22662efbc41a33221858364199cb5ff695fa5eae Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 24 Feb 2023 20:29:45 +0000 Subject: [PATCH] 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. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fb37f1b..2bb21c2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 -- 2.30.2