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
cc3cbe9f
Unverified
Commit
cc3cbe9f
authored
Jul 04, 2023
by
Frank Lee
Committed by
GitHub
Jul 04, 2023
Browse files
[workflow] show test duration (#4159)
parent
1908caad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.github/workflows/build_on_pr.yml
.github/workflows/build_on_pr.yml
+1
-1
.github/workflows/build_on_schedule.yml
.github/workflows/build_on_schedule.yml
+2
-2
No files found.
.github/workflows/build_on_pr.yml
View file @
cc3cbe9f
...
@@ -208,7 +208,7 @@ jobs:
...
@@ -208,7 +208,7 @@ jobs:
-
name
:
Execute Unit Testing
-
name
:
Execute Unit Testing
run
:
|
run
:
|
CURL_CA_BUNDLE="" PYTHONPATH=$PWD pytest --testmon --testmon-cov=. tests/
CURL_CA_BUNDLE="" PYTHONPATH=$PWD pytest --testmon --testmon-cov=.
--durations=10
tests/
env
:
env
:
DATA
:
/data/scratch/cifar-10
DATA
:
/data/scratch/cifar-10
NCCL_SHM_DISABLE
:
1
NCCL_SHM_DISABLE
:
1
...
...
.github/workflows/build_on_schedule.yml
View file @
cc3cbe9f
...
@@ -3,7 +3,7 @@ name: Build on Schedule
...
@@ -3,7 +3,7 @@ name: Build on Schedule
on
:
on
:
schedule
:
schedule
:
# run at 00:00 of every Sunday
# run at 00:00 of every Sunday
-
cron
:
'
0
0
*
*
*
'
-
cron
:
"
0
0
*
*
*
"
workflow_dispatch
:
workflow_dispatch
:
jobs
:
jobs
:
...
@@ -60,7 +60,7 @@ jobs:
...
@@ -60,7 +60,7 @@ jobs:
-
name
:
Unit Testing
-
name
:
Unit Testing
if
:
steps.check-avai.outputs.avai == 'true'
if
:
steps.check-avai.outputs.avai == 'true'
run
:
|
run
:
|
PYTHONPATH=$PWD pytest tests
PYTHONPATH=$PWD pytest
--durations=0
tests
env
:
env
:
DATA
:
/data/scratch/cifar-10
DATA
:
/data/scratch/cifar-10
LD_LIBRARY_PATH
:
/github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
LD_LIBRARY_PATH
:
/github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
...
...
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