Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
test: switch from cargo-fuzz to bolero
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale committed Feb 3, 2024
1 parent 8c8079c commit 21d5128
Show file tree
Hide file tree
Showing 14 changed files with 275 additions and 223 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,6 @@ jobs:
- run: cross test --target ${{ matrix.target }}
shell: bash

# build fuzz targets
fuzz-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: dtolnay/install@master
with:
crate: cargo-fuzz
- run: cargo fuzz build

# quickly run benchmarks
benchmarks:
runs-on: ubuntu-latest
Expand Down
246 changes: 246 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ digest = { version = "0.10.7", default-features = false, features = ["block-buff
hex-literal = "0.4.1"

[dev-dependencies]
bolero = "0.10.0"
expect-test = "1.4.1"
hex = "0.4.3"
quickcheck = "1.0.3"
Expand Down
4 changes: 0 additions & 4 deletions fuzz/.gitignore

This file was deleted.

Loading

0 comments on commit 21d5128

Please sign in to comment.