forked from opencobra/cobratoolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51ca596
commit 19683b9
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import mlreportgen.report.* | ||
import mlreportgen.dom.* | ||
|
||
% Create a Report object and set its output format to PDF | ||
rpt = Report('test_results', 'pdf'); | ||
|
||
% Add content to the report | ||
append(rpt, TitlePage('Title', 'Test Results')); | ||
|
||
% Run your tests and append the results to the report | ||
testResults = runtests('./test/testAll_ghActions.m'); | ||
append(rpt, testResults); | ||
|
||
% Close the report (this generates the PDF file) | ||
close(rpt); |