Skip to content

Commit 1db39f9

Browse files
committed
set up for other action repos and update tests
1 parent 4e9cba1 commit 1db39f9

10 files changed

Lines changed: 1806 additions & 1701 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# common-utils
1+
# common-utils

jest.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
preset: "ts-jest",
3+
testEnvironment: "node",
4+
testRunner: "jest-circus/runner",
5+
collectCoverage: true,
6+
};

package-lock.json

Lines changed: 342 additions & 344 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/+ciplugins/+github/TestResultsSummaryPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function reportFinalizedSuite(plugin, pluginData)
1313
end
1414

1515
% If test results artifact exists, update the same file
16-
testArtifactFile = fullfile(getenv("RUNNER_TEMP"),"matlabTestResults" + getenv("GITHUB_RUN_ID") + ".json");
16+
testArtifactFile = fullfile(getenv("RUNNER_TEMP"), "matlabTestResults" + getenv("GITHUB_RUN_ID") + ".json");
1717
if isfile(testArtifactFile)
1818
testResults = {jsondecode(fileread(testArtifactFile))};
1919
else

scripts/setupdeps.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/bin/bash
22

3-
# Temporarily using a snapshot build of scriptgen until the official release is available
4-
# TODO: Before merging to main branch, Update to official release URL when available
5-
# SCRIPTGEN_URL='https://ssd.mathworks.com/supportfiles/ci/matlab-script-generator/v0/matlab-script-generator.zip'
6-
SCRIPTGEN_URL='https://mw-ci-static-dev.s3.us-east-1.amazonaws.com/matlab-script-generator/v0/matlab-script-generator-0.13.0-SNAPSHOT.zip'
73
RMC_BASE_URL='https://ssd.mathworks.com/supportfiles/ci/run-matlab-command/v2'
84
SUPPORTED_OS=('win64' 'maci64' 'maca64' 'glnxa64')
95

@@ -31,12 +27,3 @@ do
3127
mkdir -p "$WORKINGDIR/$os"
3228
wget -O "$WORKINGDIR/$os/run-matlab-command$bin_ext" "$RMC_BASE_URL/$os/run-matlab-command$bin_ext"
3329
done
34-
35-
wget -O scriptgen.zip $SCRIPTGEN_URL
36-
unzip -qod scriptgen scriptgen.zip
37-
mv -f scriptgen $DISTDIR
38-
rm scriptgen.zip
39-
40-
mv -f ./* "$DISTDIR/bin"
41-
rm -rf $WORKINGDIR
42-

0 commit comments

Comments
 (0)