File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -61,17 +61,15 @@ jobs:
6161 name : Install mmseg dependencies
6262 command : |
6363 python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch<< parameters.torch >>/index.html
64- python -m pip install mmdet
6564 python -m pip install -r requirements.txt
6665 - run :
6766 name : Build and install
6867 command : |
6968 python -m pip install -e .
7069 - run :
71- name : Run unittests
70+ name : Run unittests but skip timm unittests
7271 command : |
73- python -m pip install timm
74- python -m coverage run --branch --source mmseg -m pytest tests/
72+ python -m coverage run --branch --source mmseg -m pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py
7573 python -m coverage xml
7674 python -m coverage report -m
7775
@@ -102,18 +100,16 @@ jobs:
102100 # python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.torch_version}}/index.html
103101 command : |
104102 python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
105- python -m pip install mmdet
106103 python -m pip install -r requirements.txt
107104 - run :
108105 name : Build and install
109106 command : |
110107 python setup.py check -m -s
111108 TORCH_CUDA_ARCH_LIST=7.0 python -m pip install -e .
112109 - run :
113- name : Run unittests
110+ name : Run unittests but skip timm unittests
114111 command : |
115- python -m pip install timm
116- python -m pytest tests/
112+ python -m pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py
117113
118114workflows :
119115 unit_tests :
You can’t perform that action at this time.
0 commit comments