Skip to content

Commit 969508e

Browse files
committed
Update to version 1.1.0
1 parent 533e47b commit 969508e

File tree

180 files changed

+1954
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+1954
-167
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
*.mexa64 binary
66
*.mexw64 binary
77
*.mexmaci64 binary
8-
*.mlapp binary
8+
*.mlapp binary linguist-language=MATLAB
99
*.mldatx binary
1010
*.mlproj binary
11-
*.mlx binary merge=mlAutoMerge
11+
*.mlx binary merge=mlAutoMerge linguist-language=MATLAB
1212
*.p binary
1313
*.sfx binary
1414
*.sldd binary
1515
*.slreqx binary merge=mlAutoMerge
1616
*.slmx binary merge=mlAutoMerge
1717
*.sltx binary
1818
*.slxc binary
19-
*.slx binary merge=mlAutoMerge
19+
*.slx binary merge=mlAutoMerge linguist-language=Simulink
2020
*.slxp binary
2121

2222
## Other common binary file types

.gitignore

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,59 @@
11
# List of untracked files to ignore
22

3+
# Autosave files
34
*/*.asv
45
*.asv
6+
*.m~
7+
*.autosave
8+
*.slx.r*
9+
*.mdl.r*
510

11+
# MATLAB Drive
12+
*.MATLABDriveTag
13+
14+
# Compiled files
15+
*.mex*
16+
*.p
17+
18+
# Compressed files
19+
*.zip
20+
21+
# Packaged app and toolbox files
22+
*.mlappinstall
23+
*.mltbx
24+
25+
# Deployable archives
26+
*.ctf
27+
28+
# Generated helpsearch folders
29+
helpsearch*/
30+
31+
# Defined Simulink cache folder
32+
Utilities/SimulinkCache/*
33+
34+
# Standard code generation folders
35+
slprj/
36+
sccprj/
37+
codegen/
38+
39+
# Code generation file
40+
*.eep
41+
*.elf
42+
*.hex
43+
*.bin
44+
45+
# Cache files
46+
*.slxc
47+
48+
# Project settings and other local data
49+
Utilities/ProjectSettings.mat
650
Data/allStorms.mat
751
Data/allStorms.csv
52+
Scripts/myLakeData.mat
53+
myLakeData.mat
54+
55+
# Test results
56+
SoftwareTests/TestResults_*
857

9-
Solutions.zip
58+
# GitLab page folder
59+
public/

.gitlab-ci.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
stages:
2+
# Set up two testing paths
3+
- setup
4+
- test
5+
- deploy
6+
- release
7+
8+
setup-job:
9+
tags:
10+
- matlab
11+
stage: setup
12+
script:
13+
- cd ..
14+
- if (test-path utilities) { rm -r -force utilities }
15+
- git clone [email protected]:modular-curriculum-content/utilities.git
16+
- cd $CI_PROJECT_NAME
17+
allow_failure: false
18+
19+
20+
smoke-test:
21+
# Smoke tests should run all the time
22+
tags:
23+
# Add additional tags like (e.g. - arduino) as required
24+
# Make sure that the runner you plan to use matches the tags
25+
- matlab
26+
stage: test
27+
script:
28+
- matlab -batch "openProject(pwd);RunAllTests(true)"
29+
when: always
30+
allow_failure: true
31+
artifacts:
32+
paths:
33+
- public/*
34+
expire_in: 1 years
35+
36+
pages:
37+
tags:
38+
- matlab
39+
stage: deploy
40+
script:
41+
- echo 'Deploying pages'
42+
artifacts:
43+
paths:
44+
- public
45+
46+
smoke-test-solution:
47+
tags:
48+
- matlab
49+
stage: release
50+
script:
51+
- matlab -batch "proj = openProject(pwd);
52+
addpath(genpath(proj.RootFolder));
53+
results = runtests(fullfile('InternalFiles','Tests','CI','SolnSmokeTests.m'));
54+
disp(table(results)); assertSuccess(results);"
55+
rules:
56+
# This test should always run when merging to main
57+
# And be available for manual running on any push
58+
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
59+
when: always
60+
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
61+
when: manual
62+
allow_failure: true
63+
64+
file-test:
65+
tags:
66+
- matlab
67+
stage: release
68+
script:
69+
- matlab -batch "proj = openProject(pwd);
70+
addpath(proj.RootFolder+'/InternalFiles/Tests/CI');
71+
results = runtests('OpenCloseFileTest.m');
72+
disp(table(results)); assertSuccess(results);"
73+
rules:
74+
# This test should always run when merging to main
75+
# And be available for manual running on any push
76+
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
77+
when: always
78+
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
79+
when: manual
80+
allow_failure: true
81+
82+
release-testing:
83+
tags:
84+
- matlab
85+
stage: release
86+
script:
87+
- matlab -batch "proj = openProject(pwd);
88+
cd ..;
89+
addpath(genpath(fullfile('utilities','TestingResources')));
90+
runCMTests"
91+
rules:
92+
# This test should always run when merging to main
93+
# And be available for manual running on any push
94+
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
95+
when: always
96+
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
97+
when: manual
98+
allow_failure: true

Data/.gitkeep

Whitespace-only changes.

Data/BakerLake.fig

14.9 MB
Binary file not shown.

Data/BakerLakeScale.fig

15.1 MB
Binary file not shown.

Data/lakeData.mat

0 Bytes
Binary file not shown.

Data/longLakeData.mat

1.38 KB
Binary file not shown.

Data/modernLakeData.mat

1.69 KB
Binary file not shown.

Data/testDrawing.mat

2.96 KB
Binary file not shown.

0 commit comments

Comments
 (0)