Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
84500b77
Unverified
Commit
84500b77
authored
May 24, 2023
by
Frank Lee
Committed by
GitHub
May 24, 2023
Browse files
[workflow] fixed testmon cache in build CI (#3806)
* [workflow] fixed testmon cache in build CI * polish code
parent
518b31c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
.github/workflows/build_on_pr.yml
.github/workflows/build_on_pr.yml
+2
-2
.gitignore
.gitignore
+4
-0
requirements/requirements-test.txt
requirements/requirements-test.txt
+1
-0
No files found.
.github/workflows/build_on_pr.yml
View file @
84500b77
...
...
@@ -136,7 +136,7 @@ jobs:
-
name
:
Restore Testmon Cache
run
:
|
if [ -d /github/home/testmon_cache ]; then
[ ! -z "$(ls -A /github/home/testmon_cache)" ] && cp -p -r /github/home/testmon_cache/.testmondata /__w/ColossalAI/ColossalAI/
[ ! -z "$(ls -A /github/home/testmon_cache)" ] && cp -p -r /github/home/testmon_cache/.testmondata
*
/__w/ColossalAI/ColossalAI/
fi
-
name
:
Execute Unit Testing
...
...
@@ -150,7 +150,7 @@ jobs:
-
name
:
Store Testmon Cache
run
:
|
[ -d /github/home/testmon_cache ] || mkdir /github/home/testmon_cache
cp -p -r /__w/ColossalAI/ColossalAI/.testmondata /github/home/testmon_cache/
cp -p -r /__w/ColossalAI/ColossalAI/.testmondata
*
/github/home/testmon_cache/
-
name
:
Collate artifact
env
:
...
...
.gitignore
View file @
84500b77
...
...
@@ -155,3 +155,7 @@ colossalai/version.py
# ignore coverage test file
coverage.lcov
coverage.xml
# ignore testmon and coverage files
.coverage
.testmondata*
requirements/requirements-test.txt
View file @
84500b77
diffusers
fbgemm-gpu==0.2.0
pytest
coverage==7.2.3
git+https://github.com/hpcaitech/pytest-testmon
torchvision
transformers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment