mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-29 09:33:48 +00:00
do not run memory crate with nextest
This commit is contained in:
@@ -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_/)'
|
||||
|
||||
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@@ -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
2538
perf/memory/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user