mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 20:44:23 +01:00
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:
@@ -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
|
||||
|
||||
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user