Add MATLAB buildtool support for CI tasks#49
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
- Create buildfile.m at repository root with setup, check, and test tasks using MATLAB's CodeIssuesTask and TestTask - Create code/templates/buildfile.m as a template for other projects - Update check-code and test-code GitHub Actions to detect buildfile.m and use matlab-actions/run-build when available - Maintain backward compatibility with existing wrapper functions Co-authored-by: ehennestad <17237719+ehennestad@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Suggest using MATLAB's buildtool for CI tasks
Add MATLAB buildtool support for CI tasks
Mar 18, 2026
Contributor
Test Results21 tests 21 ✅ 16s ⏱️ Results for commit cba7561. |
Contributor
Test Results21 tests 21 ✅ 15s ⏱️ Results for commit cba7561. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #49 +/- ##
==========================================
- Coverage 42.02% 41.51% -0.52%
==========================================
Files 59 61 +2
Lines 1468 1508 +40
==========================================
+ Hits 617 626 +9
- Misses 851 882 +31 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for MATLAB's
buildtoolframework (CodeIssuesTask,TestTask) as an alternative to the existingcodecheckToolbox/testToolboxwrapper functions.buildfile.m(root)setup,check, andtesttasks using MATLAB's built-in task classescheckandtestdepend onsetupfor path initializationcode/templates/buildfile.minstallMatBox()guardGitHub Actions (
check-code,test-code)buildfile.mat repo rootmatlab-actions/run-build@v2run-commandfallback (no breaking change)Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.