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:
61
61
name : Install mmseg dependencies
62
62
command : |
63
63
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
65
64
python -m pip install -r requirements.txt
66
65
- run :
67
66
name : Build and install
68
67
command : |
69
68
python -m pip install -e .
70
69
- run :
71
- name : Run unittests
70
+ name : Run unittests but skip timm unittests
72
71
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
75
73
python -m coverage xml
76
74
python -m coverage report -m
77
75
@@ -102,18 +100,16 @@ jobs:
102
100
# python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.torch_version}}/index.html
103
101
command : |
104
102
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
106
103
python -m pip install -r requirements.txt
107
104
- run :
108
105
name : Build and install
109
106
command : |
110
107
python setup.py check -m -s
111
108
TORCH_CUDA_ARCH_LIST=7.0 python -m pip install -e .
112
109
- run :
113
- name : Run unittests
110
+ name : Run unittests but skip timm unittests
114
111
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
117
113
118
114
workflows :
119
115
unit_tests :
You can’t perform that action at this time.
0 commit comments