File tree Expand file tree Collapse file tree 3 files changed +45
-18
lines changed Expand file tree Collapse file tree 3 files changed +45
-18
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,28 @@ concurrency:
99 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1010 cancel-in-progress : true
1111jobs :
12- test_accuracy :
13- runs-on : ubuntu-24.04
12+ test_accuracy_items :
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os :
17+ - " ubuntu-24.04"
18+ - " windows-2022"
19+ python-version :
20+ - " 3.10"
21+ - " 3.11"
22+ - " 3.12"
23+ - " 3.13"
24+ runs-on : ${{ matrix.os }}
1425 steps :
1526 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1627 with :
1728 persist-credentials : false
18- - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
19- with :
20- python-version-file : " .python-version"
2129 - name : Install uv
2230 uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
31+ with :
32+ enable-cache : false
33+ python-version : ${{ matrix.python-version }}
2334 - name : Install dependencies
2435 run : |
2536 uv sync --locked --extra tests --extra-index-url https://download.pytorch.org/whl/cpu
2940 - name : Run Python Test
3041 run : |
3142 uv run pytest --data=./data tests/accuracy/test_accuracy.py
43+ test_accuracy :
44+ runs-on : ubuntu-latest
45+ needs : test_accuracy_items
46+ if : always()
47+ steps :
48+ - name : All tests ok
49+ if : ${{ !(contains(needs.*.result, 'failure')) }}
50+ run : exit 0
51+ - name : Some tests failed
52+ if : ${{ contains(needs.*.result, 'failure') }}
53+ run : exit 1
Original file line number Diff line number Diff line change @@ -10,18 +10,29 @@ concurrency:
1010 cancel-in-progress : true
1111jobs :
1212 Python-Functional-Tests :
13- runs-on : ubuntu-24.04
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os :
17+ - " ubuntu-24.04"
18+ - " windows-2022"
19+ python-version :
20+ - " 3.10"
21+ - " 3.11"
22+ - " 3.12"
23+ - " 3.13"
24+ name : pr pre-commit test (${{ matrix.os }}, Python ${{ matrix.python-version }})
25+ runs-on : ${{ matrix.os }}
1426 steps :
1527 - name : CHECKOUT REPOSITORY
1628 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1729 with :
1830 persist-credentials : false
19- - name : Set up Python
20- uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
21- with :
22- python-version-file : " .python-version"
2331 - name : Install uv
2432 uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
33+ with :
34+ enable-cache : false
35+ python-version : ${{ matrix.python-version }}
2536 - name : Install dependencies
2637 run : |
2738 uv sync --locked --extra tests --extra-index-url https://download.pytorch.org/whl/cpu
Original file line number Diff line number Diff line change 11# OpenVINO Model API
22
3- [ ![ PyPI] ( https://img.shields.io/pypi/v/otx )] ( https://pypi.org/project/openvino-model-api )
4- [ ![ Downloads] ( https://static.pepy.tech/personalized-badge/otx?period=total&units=international_system&left_color=grey&right_color=green&left_text=PyPI%20Downloads )] ( https://pepy.tech/project/openvino-model-api )
5-
6- <!-- markdownlint-disable MD042 -->
7-
8- [ ![ openvino] ( https://img.shields.io/badge/openvino-2025.2-purple )] ( )
9-
10- <!-- markdownlint-enable MD042 -->
3+ [ ![ PyPI] ( https://img.shields.io/pypi/v/openvino-model-api )] ( https://pypi.org/project/openvino-model-api )
4+ [ ![ Downloads] ( https://static.pepy.tech/personalized-badge/openvino-model-api?period=total&units=international_system&left_color=grey&right_color=green&left_text=PyPI%20Downloads )] ( https://pepy.tech/project/openvino-model-api )
115
126[ ![ Pre-Merge Test] ( https://github.com/open-edge-platform/model_api/actions/workflows/pre_commit.yml/badge.svg )] ( https://github.com/open-edge-platform/model_api/actions/workflows/pre_commit.yml )
137[ ![ Build Docs] ( https://github.com/open-edge-platform/model_api/actions/workflows/docs.yml/badge.svg )] ( https://github.com/open-edge-platform/model_api/actions/workflows/docs.yml )
You can’t perform that action at this time.
0 commit comments