message: add only output debug info after test fail.
diff: @@ -4,7 +4,6 @@ on:
  # only build master
  branches:
  - master
  - - develop
  paths-ignore:
  - '**.md'
  pull_request:
  @@ -67,6 +66,15 @@ jobs:
  command: test
  args: --all-targets --no-run -j 4
  - name: test
  + env:
  + RUST_LOG: error
  + RUST_BACKTRACE: full
  + uses: actions-rs/cargo@v1
  + with:
  + command: test
  + args: --all-targets
  + - name: test_with_debug
  + if: failure()
  env:
  RUST_LOG: debug
  RUST_BACKTRACE: full
  