This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new e4f2038  Export `RUST_BACKTRACE=1` before running the tests
e4f2038 is described below

commit e4f203865489f8654a48448f9096d56f4c79a25f
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Wed Dec 4 09:53:04 2024 +0200

    Export `RUST_BACKTRACE=1` before running the tests
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 .github/workflows/test-lang-rust-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/test-lang-rust-ci.yml 
b/.github/workflows/test-lang-rust-ci.yml
index fc43881..1dcbdb8 100644
--- a/.github/workflows/test-lang-rust-ci.yml
+++ b/.github/workflows/test-lang-rust-ci.yml
@@ -98,11 +98,11 @@ jobs:
 
       - name: Rust Test
         if: matrix.target != 'wasm32-unknown-unknown'
-        run: cargo test --all-features --target ${{ matrix.target }}
+        run: RUST_BACKTRACE=1 cargo test --all-features --target ${{ 
matrix.target }}
 
       - name: Rust Test AVRO-3549
         if: matrix.target != 'wasm32-unknown-unknown'
-        run: cargo test --target ${{ matrix.target }} 
test_avro_3549_read_not_enabled_codec
+        run: RUST_BACKTRACE=1 cargo test --target ${{ matrix.target }} 
test_avro_3549_read_not_enabled_codec
 
       # because of https://github.com/rust-lang/cargo/issues/6669
       - name: Rust Test docs

Reply via email to