Skip to content

Commit 415b7d2

Browse files
authored
Remove serving_api checks to enable OVMS removal (#429)
1 parent 8b7457a commit 415b7d2

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.github/workflows/test_precommit.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -31,34 +31,6 @@ jobs:
3131
- name: Run test
3232
run: |
3333
uv run pytest --data=./data tests/functional
34-
serving_api:
35-
strategy:
36-
fail-fast: false
37-
matrix:
38-
os: [ubuntu-22.04, ubuntu-24.04]
39-
python-version: ["3.10", "3.11", "3.13"]
40-
runs-on: ${{ matrix.os }}
41-
steps:
42-
- name: Set up docker for macOS
43-
if: startsWith(matrix.os, 'macos-1')
44-
run: |
45-
brew install colima docker
46-
colima start
47-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
48-
with:
49-
persist-credentials: false
50-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
51-
with:
52-
python-version: ${{ matrix.python-version }}
53-
- name: Install uv
54-
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
55-
- name: serving_api
56-
run: |
57-
uv sync --locked --extra tests --extra ovms
58-
uv run python tests/precommit/prepare_data.py -d data -p tests/precommit/public_scope.json
59-
uv run python -c "from model_api.models import DetectionModel; DetectionModel.create_model('./data/otx_models/detection_model_with_xai_head.xml').save('ovms_models/ssd_mobilenet_v1_fpn_coco/1/ssd_mobilenet_v1_fpn_coco.xml')"
60-
docker run -d --rm -v $GITHUB_WORKSPACE/ovms_models/:/models -p 8000:8000 openvino/model_server:latest --model_path /models/ssd_mobilenet_v1_fpn_coco/ --model_name ssd_mobilenet_v1_fpn_coco --rest_port 8000 --log_level DEBUG --target_device CPU
61-
uv run python examples/serving_api/run.py data/coco128/images/train2017/000000000009.jpg # detects 4 objects
6234
Zizmor-Scan-PR:
6335
runs-on: ubuntu-latest
6436
permissions:

0 commit comments

Comments
 (0)