Merge 'long fuzz tests ci on btree changes' from Pere Diaz Bou

The idea is simple, if you modify the btree, we should verify fuzz tests
with long number of iterations to decrease the chance of a regression

Closes #1502
This commit is contained in:
Pekka Enberg
2025-05-16 13:30:55 +03:00
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
name: Run long fuzz tests on Btree
on:
push:
paths:
- 'core/storage/btree.rs'
pull_request:
paths:
- 'core/storage/btree.rs'
jobs:
run-long-tests:
runs-on: ubuntu-latest
timeout-minutes: 0
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "v1-rust" # can be updated if we need to reset caches due to non-trivial change in the dependencies (for example, custom env var were set for single workspace project)
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Build
run: cargo build --verbose
- name: Run ignored long tests
run: cargo test -- --ignored fuzz_long
env:
RUST_BACKTRACE: 1