From: Matt Corallo Date: Fri, 24 Feb 2023 20:29:45 +0000 (+0000) Subject: Export RUST_BACKTRACE=1 in `--feature backtrace` CI test X-Git-Tag: v0.0.114-beta^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=22662efbc41a33221858364199cb5ff695fa5eae;p=rust-lightning 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. --- 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