File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 77jobs :
88 test :
99 runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ pull-requests : write
1013
1114 steps :
1215 - uses : actions/checkout@v3
3134 - name : Install Python dependencies
3235 run : pip install -r scripts/requirements.txt
3336
34- - name : Build fuzzer in release mode
37+ - name : Build fuzzer
3538 run : cargo build --release
3639
3740 - name : Setup Sui environment
4447
4548 - name : Display test report
4649 if : always()
47- run : cat test-report.md >> $GITHUB_STEP_SUMMARY
50+ uses : marocchino/sticky-pull-request-comment@v2
51+ with :
52+ path : test-report.md
53+ header : move-fuzzer-test-report
Original file line number Diff line number Diff line change @@ -678,23 +678,19 @@ def generate_report(self):
678678 console .print (table )
679679
680680 # Generate Markdown report using Jinja2
681- report_template = Template ("""# Move Fuzzer Integration Test Report
681+ report_template = Template ("""## SUI Fuzzer Integration Test Report
682682
683683**Generated**: {{ timestamp }}
684684**Package ID**: {{ package_id }}
685685**Overall Result**: {{ "PASSED" if all_passed else "FAILED" }}
686686
687- ## Test Results
687+ ### Test Results
688688
689689| Test | Passed | Time |
690690|------|--------|------|
691691{%- for result in results %}
692692| {{ result.name }} | {{ "✓" if result.passed else "✗" }} | {{ "%.1f"|format(result.execution_time) }}s |
693693{%- endfor %}
694-
695- ## Legend
696- - **Passed**: Test executed successfully and violations matched expectations
697- - **Time**: Test execution duration in seconds
698694""" )
699695
700696 # Prepare template data
You can’t perform that action at this time.
0 commit comments