mirror of https://github.com/hpcaitech/ColossalAI
[workflow] show test duration (#4159)
parent
1908caad38
commit
cc3cbe9f6f
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in New Issue