Do not run doctests with sanitizers

This commit is contained in:
Ivan Boldyrev 2024-02-05 18:15:34 +01:00
parent 0a37f7c547
commit d1c6dd50bd

View File

@ -91,7 +91,7 @@ jobs:
# The `memory` sanitizer on cargo test has false positive even on empty project.
# It shouldn't have `--no-default-features`, but it has until legacy tests will work with signatures enabled.
for san in address leak; do
RUSTFLAGS="$RUSTFLAGS -Z sanitizer=$san" cargo test --no-default-features --features test_with_native_code --target x86_64-unknown-linux-gnu
RUSTFLAGS="$RUSTFLAGS -Z sanitizer=$san" cargo test --no-default-features --features test_with_native_code --target x86_64-unknown-linux-gnu --tests
done
- name: Run signature tests with test_with_native_code
env: