Skip to content
Snippets Groups Projects
Unverified Commit ca0364bb authored by Mashiro's avatar Mashiro Committed by GitHub
Browse files

[Fix] Fix merge ci & multiprocessing unit test (#529)

* fix merge ci

* make timeout larger
parent 75202103
No related branches found
No related tags found
No related merge requests found
...@@ -169,5 +169,10 @@ jobs: ...@@ -169,5 +169,10 @@ jobs:
pip install -r requirements/tests.txt pip install -r requirements/tests.txt
pip install openmim pip install openmim
mim install 'mmcv>=2.0.0rc1' mim install 'mmcv>=2.0.0rc1'
- name: Run unittests - name: Run CPU unittests
run: pytest tests/ 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): ...@@ -73,7 +73,7 @@ class MultiProcessTestCase(TestCase):
@property @property
def timeout(self) -> int: def timeout(self) -> int:
return 500 return 1000
def join_or_run(self, fn): def join_or_run(self, fn):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment