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.
This commit is contained in:
Matt Corallo 2023-02-24 20:29:45 +00:00
parent f082ad40b5
commit 22662efbc4

View file

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