54
54
run : rm -rf .eggs && pip install -e .
55
55
- name : Run unittests and generate coverage report
56
56
run : |
57
- coverage run --branch --source mmedit -m pytest tests/
57
+ coverage run --branch --source mmagic -m pytest tests/
58
58
coverage xml
59
59
coverage report -m
60
60
@@ -100,7 +100,7 @@ jobs:
100
100
run : rm -rf .eggs && pip install -e .
101
101
- name : Run unittests and generate coverage report
102
102
run : |
103
- coverage run --branch --source mmedit -m pytest tests/
103
+ coverage run --branch --source mmagic -m pytest tests/
104
104
coverage xml --omit="**/stylegan3_ops/*,**/conv2d_gradfix.py,**/grid_sample_gradfix.py,**/misc.py,**/upfirdn2d.py,**all_gather_layer.py"
105
105
coverage report -m
106
106
# Only upload coverage report for python3.7 && pytorch1.8.1 cpu
@@ -141,7 +141,7 @@ jobs:
141
141
apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
142
142
- name : Install PyTorch
143
143
run : pip install torch==1.8.1+cpu torchvision==0.9.1+cpu -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
144
- - name : Install mmediting dependencies
144
+ - name : Install mmagic dependencies
145
145
run : |
146
146
pip install -U openmim
147
147
mim install 'mmcv >= 2.0.0'
@@ -177,7 +177,7 @@ jobs:
177
177
apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
178
178
- name : Install PyTorch
179
179
run : pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu
180
- - name : Install mmediting dependencies
180
+ - name : Install mmagic dependencies
181
181
run : |
182
182
pip install git+https://github.com/open-mmlab/mmengine.git@main
183
183
pip install -U openmim
@@ -188,7 +188,7 @@ jobs:
188
188
pip install -e .
189
189
- name : Run unittests and generate coverage report
190
190
run : |
191
- coverage run --branch --source mmedit -m pytest tests/
191
+ coverage run --branch --source mmagic -m pytest tests/
192
192
coverage xml --omit="**/stylegan3_ops/*,**/conv2d_gradfix.py,**/grid_sample_gradfix.py,**/misc.py,**/upfirdn2d.py,**all_gather_layer.py"
193
193
coverage report -m
194
194
@@ -210,7 +210,7 @@ jobs:
210
210
run : python -m pip install lmdb
211
211
- name : Install PyTorch
212
212
run : python -m pip install torch==1.8.1+${{matrix.platform}} torchvision==0.9.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
213
- - name : Install mmediting dependencies
213
+ - name : Install mmagic dependencies
214
214
run : |
215
215
python -m pip install git+https://github.com/open-mmlab/mmengine.git@main
216
216
python -m pip install -U openmim
0 commit comments