Skip to content

Commit 8bc44a7

Browse files
authored
Merge pull request #59 from mlcommons/dev
Merge Dev
2 parents 3d11c72 + c23605a commit 8bc44a7

File tree

6 files changed

+526
-141
lines changed

6 files changed

+526
-141
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
# Step 7: Build the Python wheel
8484
- name: Build wheels
8585
working-directory: ./
86-
run: python3 -m build && rm dist/*.whl
86+
run: python3 -m build
8787

8888
# Step 8: Publish to PyPI
8989
- name: Publish to PyPI

.github/workflows/test-mlc-core-actions.yaml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
echo "Expected branch 'dev', but found '$CURRENT_BRANCH'. Exiting with failure."
9090
exit 1
9191
fi
92+
mlc pull repo
9293
9394
- name: Test 3 - list repo - List the existing repositories
9495
run: |
@@ -106,7 +107,7 @@ jobs:
106107
- name: Test 5 - find cache - Cache not present
107108
run: |
108109
mlc find cache --tags=detect,os 2>&1 | tee test5.log
109-
if ! grep -q "No cache entry found for the specified tags:" test5.log; then
110+
if ! grep -q "No cache entry found for the specified input:" test5.log; then
110111
exit 1
111112
fi
112113
@@ -133,4 +134,48 @@ jobs:
133134
- name: Test 10 - cp script - Copy mlc script
134135
run: |
135136
mlc cp script detect-os my-os-detect
137+
138+
- name: Test 11 - add repo - Add a new MLC repo
139+
run: |
140+
mlc add repo my-new-repo
141+
mlc add repo https://github.com/mlcommons/inference
142+
mlc add repo https://mygit.com/myrepo
143+
144+
- name: Test 12 - rm repo where we have a corrupt entry
145+
run: |
146+
rm -r $HOME/MLC/repos/mlcommons@mlperf-automations
147+
mlc rm repo mlcommons@mlperf-automations
148+
mlc pull repo mlcommons@mlperf-automations --branch=dev
136149
150+
- name: Test 13 - add script - Add a new MLC script
151+
run: |
152+
mlc add script my-script-1 --tags=my,new-tags-1
153+
mlc add script my-script-2 --tags=my,new-tags-2
154+
mlc add script my-script-3 --tags=my,new-tags3 --template_tags=detect,os
155+
mlc add script mlcommons@mlperf-automations:my-script-4 --tags=my,new-tags4 --template_tags=detect,os
156+
157+
- name: Test 14 - mv script - Move/rename an MLC script
158+
run: |
159+
mlc mv script my-script-1 moved-my-script-1
160+
mlc mv script my-script-2 mlcommons@mlperf-automations:moved-my-script-2
161+
162+
- name: Test 15 - show script
163+
run: |
164+
mlc show script --tags=run-mlperf,inference
165+
mlc show script 863735b7db8c44fc
166+
mlc show script detect-os,863735b7db8c44fc
167+
mlc show script detect-os
168+
169+
- name: Test 16 - find script
170+
run: |
171+
mlc find script --tags=run-mlperf,inference
172+
mlc find script 863735b7db8c44fc
173+
mlc find script detect-os,863735b7db8c44fc
174+
mlc find script detect-os
175+
176+
- name: Test 17 - rm script
177+
run: |
178+
mlc rm script get-ipol-src -f
179+
mlc rm script --tags=app,image,corner-detection -f
180+
mlc rm script 63080407db4d4ac4 -f
181+

CONTRIBUTORS.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ Once your contribution exceeds 50 lines of code (in total), we will:
2828

2929
## Current Contributors
3030

31-
- **[Arjun Suresh]** - *Initial Development Discussions, {Script,Cache} Action implementations*
32-
- **[Anandhu Sooraj]** - *Initial Development Discussions, RepoAction implmentation, Github Tests*
33-
- **[Shaik Masthan]** - *Initial Development Discussions*
34-
- **[Sahil Avaran]** - *Initial Development Discussions*, added logging
31+
- **[Arjun Suresh](https://github.com/arjunsuresh)** - *Initial Development Discussions, {Script,Cache} Action implementations*
32+
- **[Anandhu Sooraj](https://github.com/anandhu-eng)** - *Initial Development Discussions, RepoAction implmentation, Github Tests*
33+
- **[Shaik Masthan](https://github.com/csemasthan)** - *Initial Development Discussions*
34+
- **[Sahil Avaran](https://github.com/sahilavaran)** - *Initial Development Discussions*, added logging
35+
- **[R.A Sidharth](https://github.com/Sid9993)** - *Find repo implementation*
3536
- **[Your Name Here]** - This could be you! 🎉
3637

3738
---

0 commit comments

Comments
 (0)