File tree 2 files changed +35
-0
lines changed
2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : fuzzing
2
+
3
+ # This action runs fuzzing for a brief period of time,
4
+ # only aginst the actual code added in the PR.
5
+ # It is intended a relatively quick check,
6
+ # to guard against code introducing crashes in the Markdown parsing,
7
+ # which should in principle always run against any text input.
8
+ # See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/#how-it-works
9
+
10
+ on :
11
+ pull_request :
12
+
13
+ jobs :
14
+ Fuzzing :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Build Fuzzers
18
+ id : build
19
+ uses : google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
20
+ with :
21
+ oss-fuzz-project-name : ' markdown-it-py'
22
+ language : python
23
+ - name : Run Fuzzers
24
+ uses : google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
25
+ with :
26
+ oss-fuzz-project-name : ' markdown-it-py'
27
+ language : python
28
+ fuzz-seconds : 60
29
+ - name : Upload Crash
30
+ uses : actions/upload-artifact@v3
31
+ if : failure() && steps.build.outcome == 'success'
32
+ with :
33
+ name : artifacts
34
+ path : ./out/artifacts
Original file line number Diff line number Diff line change 54
54
flags : pytests
55
55
file : ./coverage.xml
56
56
fail_ci_if_error : true
57
+ token : ${{ secrets.CODECOV_TOKEN }}
57
58
58
59
test-plugins :
59
60
You can’t perform that action at this time.
0 commit comments