chore: Add RUST_BACKTRACE=1 to tests in CI
Fixes
@@ -120,6 +120,7 @@ jobs:
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
+ RUST_BACKTRACE: "1"
steps:
- checkout
- rust_components
@@ -132,6 +133,13 @@ jobs:
test_kafka_integration:
machine: true
resource_class: xlarge
+ environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
+ # Disable full debug symbol generation to speed up CI build
+ # "1" means line tables only, which is useful for panic tracebacks.
+ RUSTFLAGS: "-C debuginfo=1"
+ RUST_BACKTRACE: "1"
steps:
- checkout
- run:
@@ -148,6 +156,7 @@ jobs:
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
+ RUST_BACKTRACE: "1"
steps:
- checkout
- rust_components
