From c3fda1905bd9a9bbaf37476f2cc078e7329c2662 Mon Sep 17 00:00:00 2001 From: hanrui1sensetime <83800577+hanrui1sensetime@users.noreply.github.com> Date: Wed, 1 Feb 2023 14:49:59 +0800 Subject: [PATCH] [Enhancement] Add mmyolo CI on mmdeploy (#1650) * add mmyolo ut workflow * add test_linux/windows ort/trt for mmyolo * fix abs path to rel path * fix mmyolo ut * fix mmyolo position * fix mmyolo dir * fix build yolo * fix yolo path * fix yolo path * fix yolo install path * fix yolo install path for cuda * remove dumplicated ci * reformat script --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 937b50d4d9..e7fe07167b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,6 +50,10 @@ jobs: python -m mim install -r requirements/codebases.txt python -m pip install -U numpy clip python -m pip list + - name: Install mmyolo + run: | + git clone -b dev --depth 1 https://github.com/open-mmlab/mmyolo.git /home/runner/work/mmyolo + python -m pip install -v -e /home/runner/work/mmyolo - name: Build and install run: | rm -rf .eggs && python -m pip install -e . @@ -59,6 +63,11 @@ jobs: coverage run --branch --source mmdeploy -m pytest -rsE tests coverage xml coverage report -m + - name: Run mmyolo deploy unittests + run: | + python -m pip install xdoctest + cd /home/runner/work/mmyolo + pytest tests/test_deploy build_cpu_sdk: runs-on: ubuntu-18.04