Skip to content

Commit cea78e6

Browse files
committed
rename resource
1 parent 60641a0 commit cea78e6

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/bat.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ jobs:
2929
- run: |
3030
pwd
3131
ls
32-
cd src
32+
echo "new command"
33+
cd dist
34+
ls
35+
echo "new command"
36+
cd plugins
3337
ls
34-
cd resources
3538
3639
# - name: Run MATLAB Tests
3740
# uses: ./

resources/+ciplugins/+jenkins/TestResultsSummaryPlugin.m renamed to plugins/+ciplugins/+jenkins/TestResultsSummaryPlugin.m

File renamed without changes.

resources/+matlab/+unittest/+internal/+services/+plugins/TestResultsSummaryPluginService.m renamed to plugins/+matlab/+unittest/+internal/+services/+plugins/TestResultsSummaryPluginService.m

File renamed without changes.

scripts/setupdeps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ SUPPORTED_OS=('win64' 'maci64' 'maca64' 'glnxa64')
88
DISTDIR="$(pwd)/dist"
99
mkdir -p $DISTDIR/bin
1010

11-
# Create resources directory and copy plugin code
12-
cp -R resources $(pwd)/dist/
11+
# Create plugins directory and copy plugin code
12+
cp -R plugins $(pwd)/dist/
1313

1414
# Download and extract in a temporary directory
1515
WORKINGDIR=$(mktemp -d -t rmc_build.XXXXXX)

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function run() {
3131
};
3232

3333
// const command = scriptgen.generateCommand(options);
34-
const pluginsPath = path.join(__dirname, "resources").replace("'","''");
34+
const pluginsPath = path.join(__dirname, "plugins").replace("'","''");
3535
const command = "addpath('"+ pluginsPath +"');" + "import matlab.unittest.TestRunner; addpath(genpath('code')); suite = testsuite(pwd, 'IncludeSubfolders', true); runner = TestRunner.withDefaultPlugins(); results = runner.run(suite); display(results); assertSuccess(results);";
3636
core.summary.addRaw(command, true);
3737
const startupOptions = core.getInput("startup-options").split(" ");

0 commit comments

Comments
 (0)