File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run MATLAB Tests on GitHub-Hosted Runner
2+ on : [push]
3+ jobs :
4+ my-job :
5+ name : Run MATLAB Tests and Generate Artifacts
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Check out repository
9+ uses : actions/checkout@v4
10+ - name : Set up MATLAB
11+ uses : matlab-actions/setup-matlab@v2
12+ with :
13+ products : Deep_Learning_Toolbox Reinforcement_Learning_Toolbox Optimization_Toolbox Image_Processing_Toolbox
14+ - name : Run tests and generate artifacts
15+ uses : matlab-actions/run-tests@v2
16+ with :
17+ source-folder : conslearn
18+ test-results-junit : test-results/results.xml
19+ code-coverage-cobertura : code-coverage/coverage.xml
20+ - name : Upload test artifacts
21+ uses : actions/upload-artifact@v4
22+ with :
23+ name : test-artifacts
24+ path : |
25+ test-results/results.xml
26+ code-coverage/coverage.xml
You can’t perform that action at this time.
0 commit comments