File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
branches : [master]
5
5
pull_request :
6
- schedule :
7
- - cron : ' 0 0 * * 0' # every week
8
6
9
7
jobs :
10
-
11
- basic :
8
+ Fuzzing :
12
9
runs-on : ubuntu-latest
13
10
steps :
14
- - uses : actions/checkout@v2
15
- - name : Set up Python
16
- uses : actions/setup-python@v4
11
+ - name : Build Fuzzers
12
+ id : build
13
+ uses : google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
14
+ with :
15
+ oss-fuzz-project-name : ' markdown-it-py'
16
+ - name : Run Fuzzers
17
+ uses : google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
18
+ with :
19
+ oss-fuzz-project-name : ' markdown-it-py'
20
+ fuzz-seconds : 600
21
+ - name : Upload Crash
22
+ uses : actions/upload-artifact@v3
23
+ if : failure() && steps.build.outcome == 'success'
17
24
with :
18
- python-version : 3.8
19
- - name : Install dependencies
20
- run : |
21
- python -m pip install --upgrade pip
22
- pip install atheris
23
- pip install .
24
- - name : run fuzzing
25
- run : python tests/fuzz/fuzz_markdown.py
25
+ name : artifacts
26
+ path : ./out/artifacts
You can’t perform that action at this time.
0 commit comments