Skip to content
Snippets Groups Projects
Unverified Commit 9f0d1a96 authored by Yining Li's avatar Yining Li Committed by GitHub
Browse files

fix mmdet->mmengine in build.yml (#104)

parent f8a4c310
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ jobs: ...@@ -74,7 +74,7 @@ jobs:
run: rm -rf .eggs && pip install -e . run: rm -rf .eggs && pip install -e .
- name: Run unittests and generate coverage report - name: Run unittests and generate coverage report
run: | run: |
coverage run --branch --source mmdet -m pytest tests/ coverage run --branch --source mmengine -m pytest tests/
coverage xml coverage xml
coverage report -m coverage report -m
...@@ -192,7 +192,7 @@ jobs: ...@@ -192,7 +192,7 @@ jobs:
- name: Install dependencies for compiling onnx when python=3.9 - name: Install dependencies for compiling onnx when python=3.9
run: python -m pip install protobuf && apt-get update && apt-get -y install libprotobuf-dev protobuf-compiler cmake run: python -m pip install protobuf && apt-get update && apt-get -y install libprotobuf-dev protobuf-compiler cmake
if: ${{matrix.python-version == '3.9'}} if: ${{matrix.python-version == '3.9'}}
- name: Install mmdet dependencies - name: Install mmengine dependencies
run: | run: |
python -V python -V
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch${{matrix.mmcv}}/index.html python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch${{matrix.mmcv}}/index.html
...@@ -208,7 +208,7 @@ jobs: ...@@ -208,7 +208,7 @@ jobs:
TORCH_CUDA_ARCH_LIST=7.0 pip install . TORCH_CUDA_ARCH_LIST=7.0 pip install .
- name: Run unittests and generate coverage report - name: Run unittests and generate coverage report
run: | run: |
coverage run --branch --source mmdet -m pytest tests/ coverage run --branch --source mmengine -m pytest tests/
coverage xml coverage xml
coverage report -m coverage report -m
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment