mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 12:04:21 +01:00
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:
30
.github/workflows/long_fuzz_tests_btree.yml
vendored
Normal file
30
.github/workflows/long_fuzz_tests_btree.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user