Skip to content

Commit 36d3feb

Browse files
committed
update env var name for consistency with input field name
1 parent d98cb2a commit 36d3feb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/+buildframework/getDefaultPlugins.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
buildframework.GitHubLogPlugin() ...
1212
];
1313

14-
if strcmpi(getenv("MW_GENERATE_JOB_SUMMARY"), "true")
14+
if strcmpi(getenv("MW_GENERATE_SUMMARY"), "true")
1515
if isMATLABReleaseOlderThan("R2026a")
1616
reportPlugin = buildframework.BuildSummaryPlugin();
1717
else

plugins/+matlab/+unittest/+internal/+services/+plugins/TestResultsSummaryPluginService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
methods
55
function plugins = providePlugins(~, ~)
66
% Check if MATLAB Test license is available
7-
if strcmpi(getenv("MW_GENERATE_JOB_SUMMARY"), "true") && license('test', 'matlab_test')
7+
if strcmpi(getenv("MW_GENERATE_SUMMARY"), "true") && license('test', 'matlab_test')
88
plugins = testframework.TestResultsSummaryPlugin();
99
else
1010
plugins = matlab.unittest.plugins.TestRunnerPlugin.empty(1,0);

tests/tParallelizableBuildSummaryPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function createPlugin(testCase)
2424

2525
testCase.applyFixture(WorkingFolderFixture);
2626
testCase.TempFolder = pwd();
27-
testCase.applyFixture(EnvironmentVariableFixture("MW_GENERATE_JOB_SUMMARY", "true"));
27+
testCase.applyFixture(EnvironmentVariableFixture("MW_GENERATE_SUMMARY", "true"));
2828
testCase.applyFixture(EnvironmentVariableFixture("GITHUB_ACTION", "my-action"));
2929

3030
testCase.Plugin = ParallelizableBuildSummaryPlugin(TempFolder=testCase.TempFolder);

0 commit comments

Comments
 (0)