-
Notifications
You must be signed in to change notification settings - Fork 12
Add support for test, build results summary and logs grouping via common-utils #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
19870a7
update to use common-utils
mw-kapilg 61b6068
add test results summary generation step
mw-kapilg 96686c0
add sample MATLAB test
mw-kapilg 748e5ac
use new test summary api
mw-kapilg dcdeb56
update bat.yml
mw-kapilg 0385688
update bat.yml
mw-kapilg 8b70ddc
update bat.yml
mw-kapilg 83a813b
add write function call
mw-kapilg 3729302
update summary APIs and add workflow verification
mw-kapilg d167b48
update verification
mw-kapilg 5e23adc
update verification
mw-kapilg c3e77ee
update as per common-utils change
mw-kapilg 6fa62c5
resolve merge conflicts
mw-kapilg 62c7d87
revert plugins path logic
mw-kapilg 43a1347
update plugins path
mw-kapilg 45c5ce0
use common-utils v1.0.0
mw-kapilg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| classdef TheTruth < matlab.unittest.TestCase | ||
| methods (Test) | ||
| function testTheTestOfAllTime(testCase) | ||
| onetyone = 11; | ||
| testCase.verifyEqual(onetyone, 11); | ||
| end | ||
| end | ||
| end |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,6 @@ | ||
| #!/bin/bash | ||
|
|
||
| RMC_BASE_URL='https://ssd.mathworks.com/supportfiles/ci/run-matlab-command/v2' | ||
| SUPPORTED_OS=('win64' 'maci64' 'maca64' 'glnxa64') | ||
| source ./node_modules/common-utils/scripts/setupdeps.sh | ||
mw-kapilg marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| # Create dist directory if it doesn't already exist | ||
| DISTDIR="$(pwd)/dist/bin" | ||
| mkdir -p $DISTDIR | ||
|
|
||
| # Download and extract in a temporary directory | ||
| WORKINGDIR=$(mktemp -d -t rmc_build.XXXXXX) | ||
| cd $WORKINGDIR | ||
|
|
||
| wget -O "$WORKINGDIR/license.txt" "$RMC_BASE_URL/license.txt" | ||
| wget -O "$WORKINGDIR/thirdpartylicenses.txt" "$RMC_BASE_URL/thirdpartylicenses.txt" | ||
|
|
||
| for os in ${SUPPORTED_OS[@]} | ||
| do | ||
| if [[ $os == 'win64' ]] ; then | ||
| bin_ext='.exe' | ||
| else | ||
| bin_ext='' | ||
| fi | ||
| mkdir -p "$WORKINGDIR/$os" | ||
| wget -O "$WORKINGDIR/$os/run-matlab-command$bin_ext" "$RMC_BASE_URL/$os/run-matlab-command$bin_ext" | ||
| done | ||
|
|
||
| mv -f ./* "$DISTDIR/" | ||
| mv -f ./* "$DISTDIR/bin" | ||
| rm -rf $WORKINGDIR | ||
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.