Skip to content

Commit a317d42

Browse files
michielp1807folkertdev
authored andcommitted
Add dictionary fuzz tests to CI
1 parent ee4878d commit a317d42

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/checks.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,27 @@ jobs:
180180
env:
181181
RUSTFLAGS: "-Awarnings"
182182

183+
fuzz-dictionary:
184+
name: fuzz-dictionary
185+
runs-on: ubuntu-latest
186+
steps:
187+
- name: Checkout sources
188+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
189+
with:
190+
persist-credentials: false
191+
- name: Install nightly toolchain
192+
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
193+
with:
194+
toolchain: nightly
195+
- name: Install cargo fuzz
196+
run: cargo install cargo-fuzz
197+
- name: run the fuzzer
198+
run: |
199+
cargo fuzz run dictionary_round_trip -- -max_total_time=10
200+
cargo fuzz run dictionary_train -- -max_total_time=60
201+
env:
202+
RUSTFLAGS: "-Awarnings"
203+
183204
miri:
184205
name: "Miri"
185206
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)