[Fix] Fix merge ci & multiprocessing unit test (#529)
* fix merge ci * make timeout largerpull/535/head^2
parent
7520210314
commit
ca0364bbc3
|
@ -169,5 +169,10 @@ jobs:
|
|||
pip install -r requirements/tests.txt
|
||||
pip install openmim
|
||||
mim install 'mmcv>=2.0.0rc1'
|
||||
- name: Run unittests
|
||||
- name: Run CPU unittests
|
||||
run: pytest tests/
|
||||
if: ${{ matrix.platform == 'cpu' }}
|
||||
- name: Run GPU unittests
|
||||
# Skip testing distributed related unit tests since the memory of windows CI is limited
|
||||
run: pytest tests/ --ignore tests/test_dist --ignore tests/test_optim/test_optimizer/test_optimizer_wrapper.py --ignore tests/test_model/test_wrappers/test_model_wrapper.py
|
||||
if: ${{ matrix.platform == 'cu111' }}
|
||||
|
|
|
@ -73,7 +73,7 @@ class MultiProcessTestCase(TestCase):
|
|||
|
||||
@property
|
||||
def timeout(self) -> int:
|
||||
return 500
|
||||
return 1000
|
||||
|
||||
def join_or_run(self, fn):
|
||||
|
||||
|
|
Loading…
Reference in New Issue