Skip to content

Commit

Permalink
[Enhancement] Add mmyolo CI on mmdeploy (#1650)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
hanrui1sensetime authored Feb 1, 2023
1 parent 5ab0bcb commit c3fda19
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down

0 comments on commit c3fda19

Please sign in to comment.