File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: Run all book tests
3
3
on :
4
4
# Automatically run this action when a new push is made to repo
5
5
push :
6
+
7
+ # Run tests every 6 months after prerelease comes out to check for regressions.
8
+ # Prerelease for "a" release is out by Jan 1. for "b" release by Jul 1
9
+ schedule :
10
+ - cron : " 0 0 1 1,7 *"
6
11
7
12
# Allows you to run this workflow manually from the Actions tab
8
13
workflow_dispatch :
37
42
# Use v2 for Java Swing access
38
43
uses : matlab-actions/setup-matlab@v2
39
44
with :
40
- products : MATLAB Simulink Robotics_System_Toolbox Navigation_Toolbox UAV_Toolbox Automated_Driving_Toolbox Computer_Vision_Toolbox Image_Processing_Toolbox Deep_Learning_Toolbox Model_Predictive_Control_Toolbox Optimization_Toolbox ROS_Toolbox Signal_Processing_Toolbox Statistics_and_Machine_Learning_Toolbox Symbolic_Math_Toolbox Control_System_Toolbox
45
+ products : MATLAB Simulink Robotics_System_Toolbox Navigation_Toolbox UAV_Toolbox Automated_Driving_Toolbox Computer_Vision_Toolbox Image_Processing_Toolbox Deep_Learning_Toolbox Model_Predictive_Control_Toolbox Optimization_Toolbox ROS_Toolbox Signal_Processing_Toolbox Statistics_and_Machine_Learning_Toolbox Symbolic_Math_Toolbox Control_System_Toolbox Parallel_Computing_Toolbox
41
46
# Run tests with prerelease as soon as available; switch to GR once it's live
42
47
release : latest-including-prerelease
43
48
48
53
49
54
- name : Run MATLAB Tests
50
55
# Only run tests in folder test/book
51
- uses : matlab-actions/run-tests@v1
56
+ uses : matlab-actions/run-tests@v2
52
57
with :
53
58
select-by-folder : test/book
54
59
startup-options : -webfigures
55
60
code-coverage-cobertura : code-coverage/coverage.xml
61
+ # Run tests in parallel. Requires Parallel_Computing_Toolbox in "products" list above
62
+ use-parallel : true
You can’t perform that action at this time.
0 commit comments