Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBrennan1 authored Jun 11, 2023
1 parent 51ca596 commit 19683b9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions runTestsAndGenerateReport.m
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);

0 comments on commit 19683b9

Please sign in to comment.