Merge 'github: Run fuzz tests in a separate workflow' from Pekka Enberg

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>

Closes #3807
This commit is contained in:
Pekka Enberg
2025-10-22 13:42:32 +03:00
committed by GitHub
2 changed files with 22 additions and 2 deletions

View File

@@ -12,7 +12,27 @@ on:
- main
jobs:
run-long-tests:
run-fuzz-tests:
runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: useblacksmith/rust-cache@v3
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: useblacksmith/setup-python@v6
with:
python-version: "3.10"
- name: Build
run: cargo build --verbose
- name: Run ignored long tests
run: cargo test --test fuzz_tests
env:
RUST_BACKTRACE: 1
run-long-fuzz-tests:
runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 30

View File

@@ -48,7 +48,7 @@ jobs:
- name: Test
env:
RUST_LOG: ${{ runner.debug && 'turso_core::storage=trace' || '' }}
run: cargo test --verbose --features checksum
run: cargo test --verbose --features checksum --test integration_tests
timeout-minutes: 20
clippy: