From a3b400d749293a1094368d451a4349e29d9ad271 Mon Sep 17 00:00:00 2001 From: Shunsuke Mie Date: Sun, 17 Oct 2021 20:50:06 +0900 Subject: [PATCH] Add a trace level to test CI task To enable to get stack trace on CI, add a `RUST_BACKTRACE` env variable. It is useful to debug. Some rust projects applied this parameter. e.g. deno https://github.com/denoland/deno/blob/main/.github/workflows/ci.yml#L54 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2054532..3c472ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,8 @@ jobs: name: Test Suite runs-on: ubuntu-latest needs: prepare + env: + RUST_BACKTRACE: full steps: - uses: actions/checkout@master - uses: actions-rs/toolchain@v1