Skip to content

Commit a859380

Browse files
committed
Run serving_api tests on linux only
1 parent 1f4282a commit a859380

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/pre_commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,12 @@ jobs:
107107
run: |
108108
uv run pytest --data=./data tests/functional
109109
110-
serving_api:
110+
serving_api-tests:
111111
strategy:
112112
fail-fast: false
113113
matrix:
114114
os:
115115
- "ubuntu-latest"
116-
- "windows-latest"
117116
python-version:
118117
- "3.11"
119118
- "3.12"
@@ -148,6 +147,7 @@ jobs:
148147
- accuracy-tests
149148
- code_quality_checks
150149
- unit-functional-tests
150+
- serving_api-tests
151151
if: always()
152152
steps:
153153
- name: All tests ok

examples/serving_api/run.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7-
import os
87
import sys
98

109
import cv2
@@ -13,7 +12,6 @@
1312

1413

1514
def main():
16-
print(f"{os.getenv('DOCKER_HOST')=}")
1715
if len(sys.argv) != 2:
1816
usage_message = f"Usage: {sys.argv[0]} <path_to_image>"
1917
raise RuntimeError(usage_message)

0 commit comments

Comments
 (0)