Skip to content

Commit f660c64

Browse files
committed
remove coverage and fix cuda version
1 parent bd725fd commit f660c64

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
name: codecov-umbrella
223223
fail_ci_if_error: false
224224

225-
build_cu116:
225+
build_cuda116:
226226
runs-on: ubuntu-18.04
227227
container:
228228
image: pytorch/pytorch:1.13.0-cuda11.6-cudnn8-devel
@@ -264,7 +264,7 @@ jobs:
264264
- name: Install mmseg dependencies
265265
run: |
266266
python -V
267-
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.torch_version}}/index.html
267+
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu116/${{matrix.torch_version}}/index.html
268268
python -m pip install -r requirements.txt
269269
python -c 'import mmcv; print(mmcv.__version__)'
270270
- name: Build and install
@@ -278,14 +278,6 @@ jobs:
278278
coverage run --branch --source mmseg -m pytest tests/
279279
coverage xml
280280
coverage report -m
281-
- name: Upload coverage to Codecov
282-
uses: codecov/codecov-action@v2
283-
with:
284-
files: ./coverage.xml
285-
flags: unittests
286-
env_vars: OS,PYTHON
287-
name: codecov-umbrella
288-
fail_ci_if_error: false
289281
290282
test_windows:
291283
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)