File tree Expand file tree Collapse file tree 3 files changed +52
-3
lines changed Expand file tree Collapse file tree 3 files changed +52
-3
lines changed Original file line number Diff line number Diff line change 6161 command : |
6262 pip install git+https://github.com/open-mmlab/mmengine.git@main
6363 pip install -U openmim
64- mim install 'mmcv >= 2.0.0rc1'
64+ mim install 'mmcv>= 2.0.0rc1'
6565 pip install git+https://github.com/open-mmlab/[email protected] 6666 pip install -r requirements/tests.txt -r requirements/optional.txt
6767 - run :
@@ -106,7 +106,7 @@ jobs:
106106 command : |
107107 docker exec mmseg pip install -e /mmengine
108108 docker exec mmseg pip install -U openmim
109- docker exec mmseg mim install 'mmcv >= 2.0.0rc1'
109+ docker exec mmseg mim install 'mmcv>= 2.0.0rc1'
110110 docker exec mmseg pip install -e /mmclassification
111111 docker exec mmseg pip install -r requirements/tests.txt -r requirements/optional.txt
112112 - run :
@@ -128,6 +128,7 @@ workflows:
128128 ignore :
129129 - dev-1.x
130130 - 1.x
131+ - master
131132 pr_stage_test :
132133 when :
133134 not :
@@ -140,6 +141,7 @@ workflows:
140141 ignore :
141142 - dev-1.x
142143 - 1.x
144+ - master
143145 - build_cpu :
144146 name : minimum_version_cpu
145147 torch : 1.6.0
@@ -181,3 +183,5 @@ workflows:
181183 branches :
182184 only :
183185 - dev-1.x
186+ - 1.x
187+ - master
Original file line number Diff line number Diff line change 1+
2+ name : test-mim
3+
4+ on :
5+ push :
6+ paths :
7+ - ' model-index.yml'
8+ - ' configs/**'
9+
10+ pull_request :
11+ paths :
12+ - ' model-index.yml'
13+ - ' configs/**'
14+
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : true
18+
19+ jobs :
20+ build_cpu :
21+ runs-on : ubuntu-18.04
22+ strategy :
23+ matrix :
24+ python-version : [3.7]
25+ torch : [1.8.0]
26+ include :
27+ - torch : 1.8.0
28+ torch_version : torch1.8
29+ torchvision : 0.9.0
30+ steps :
31+ - uses : actions/checkout@v2
32+ - name : Set up Python ${{ matrix.python-version }}
33+ uses : actions/setup-python@v2
34+ with :
35+ python-version : ${{ matrix.python-version }}
36+ - name : Upgrade pip
37+ run : pip install pip --upgrade
38+ - name : Install PyTorch
39+ run : pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
40+ - name : Install openmim
41+ run : pip install openmim
42+ - name : Build and install
43+ run : rm -rf .eggs && mim install -e .
44+ - name : test commands of mim
45+ run : mim search mmsegmentation>=1.0.0rc0
Original file line number Diff line number Diff line change 4848 name : update-model-index
4949 description : Collect model information and update model-index.yml
5050 entry : .dev/md2yml.py
51- additional_dependencies : [lxml, opencv-python, mmengine ]
51+ additional_dependencies : [mmengine, lxml, opencv-python]
5252 language : python
5353 files : ^configs/.*\.md$
5454 require_serial : true
You can’t perform that action at this time.
0 commit comments