do not run memory crate with nextest

This commit is contained in:
pedrocarlo
2026-03-28 16:53:32 -03:00
parent ebe1931145
commit 6d647907fb
3 changed files with 2546 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
[profile.default]
# Exclude memory-benchmark from default test runs — it uses dhat as global
# allocator which conflicts with mimalloc from the turso crate when built
# with --all-features.
default-filter = 'not package(memory-benchmark)'
[profile.loom]
# Filter to only run tests with "loom_" in the name
default-filter = 'test(/loom_/)'

View File

@@ -94,7 +94,7 @@ jobs:
LOCAL_SYNC_SERVER: "../../target/debug/tursodb"
# for some reason, test(test_busy_snapshot_immediate) hung with coverage - so let's exclude it from the run for now
run: |
cargo llvm-cov nextest --workspace --all-features --locked --no-fail-fast -E 'not binary(fuzz_tests) and not test(test_busy_snapshot_immediate)' --failure-output=final --html --output-dir coverage
cargo llvm-cov nextest --workspace --all-features --locked --no-fail-fast --exclude memory-benchmark -E 'not binary(fuzz_tests) and not test(test_busy_snapshot_immediate)' --failure-output=final --html --output-dir coverage
echo "::group::Coverage Summary"
cargo llvm-cov report | tee coverage/summary.txt
echo "::endgroup::"
@@ -104,7 +104,7 @@ jobs:
env:
RUST_LOG: ${{ runner.debug && 'turso_core::storage=trace' || '' }}
LOCAL_SYNC_SERVER: "../../target/debug/tursodb"
run: cargo nextest run --workspace --all-features --locked --no-fail-fast -E 'not binary(fuzz_tests)' --failure-output=final
run: cargo nextest run --workspace --all-features --locked --no-fail-fast --exclude memory-benchmark -E 'not binary(fuzz_tests)' --failure-output=final
timeout-minutes: 20
- name: Test integrity_check corruption and short reads (no checksum feature because it interferes with the test)
run: cargo nextest run -p core_tester --locked --no-fail-fast -E 'test(integrity_check) | test(short_read)' --failure-output=final

2538
perf/memory/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff