Debian Codegraph @

.github/workflows/fuzz.yml

raw symbols SCIP
1 name: Fuzz
2 on:
3 schedule:
4 - cron: "0 3 * * *"
5 workflow_dispatch:
6
7 permissions:
8 contents: read
9
10 jobs:
11 fuzz:
12 runs-on: ubuntu-latest
13 steps:
14 - name: Checkout code
15 uses: actions/[email protected]
16 - name: Install Go
17 uses: actions/[email protected]
18 with:
19 go-version: 'stable'
20 # 3m is chosen so that half of the 2000 free CI minutes offered by Github
21 # will be used each month. The other half is reserved for tests in PRs.
22 # TODO: Find a way to select all fuzz tests, without listing them individually.
23 - run: go test -fuzztime=3m -fuzz=Mimetype ./
24 - run: go test -fuzztime=3m -fuzz=Search ./internal/scan
25 - run: go test -fuzztime=3m -fuzz=Match ./internal/scan
26 - run: go test -fuzztime=3m -fuzz=Json ./internal/json
27 - run: go test -fuzztime=3m -fuzz=Parser ./internal/csv
28 - run: go test -fuzztime=3m -fuzz=Plain ./internal/charset
29 - run: go test -fuzztime=3m -fuzz=XML ./internal/charset
30 - run: go test -fuzztime=3m -fuzz=HTML ./internal/charset
31 - run: go test -fuzztime=3m -fuzz=Meta ./internal/charset
32 - run: go test -fuzztime=3m -fuzz=GetAnAttribute ./internal/markup
33 - run: go test -fuzztime=3m -fuzz=GetAValue ./internal/markup