From 9f0d1a962813ad1355306c2bf4c0be404a956dec Mon Sep 17 00:00:00 2001 From: Yining Li <liyining0712@gmail.com> Date: Mon, 7 Mar 2022 18:12:15 +0800 Subject: [PATCH] fix mmdet->mmengine in build.yml (#104) --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ece532b..ac6ca166 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,7 +74,7 @@ jobs: run: rm -rf .eggs && pip install -e . - name: Run unittests and generate coverage report run: | - coverage run --branch --source mmdet -m pytest tests/ + coverage run --branch --source mmengine -m pytest tests/ coverage xml coverage report -m @@ -192,7 +192,7 @@ jobs: - 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 if: ${{matrix.python-version == '3.9'}} - - name: Install mmdet dependencies + - name: Install mmengine dependencies run: | python -V python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch${{matrix.mmcv}}/index.html @@ -208,7 +208,7 @@ jobs: TORCH_CUDA_ARCH_LIST=7.0 pip install . - name: Run unittests and generate coverage report run: | - coverage run --branch --source mmdet -m pytest tests/ + coverage run --branch --source mmengine -m pytest tests/ coverage xml coverage report -m - name: Upload coverage to Codecov -- GitLab