Skip test_workflow on Windows CI (#16003)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
fcb73595ec
commit
88102eb508
1 changed files with 2 additions and 1 deletions
|
|
@ -196,13 +196,14 @@ def test_all_model_yamls():
|
|||
YOLO(m.name)
|
||||
|
||||
|
||||
@pytest.mark.skipif(WINDOWS, reason="Windows slow CI export bug https://github.com/ultralytics/ultralytics/pull/16003")
|
||||
def test_workflow():
|
||||
"""Test the complete workflow including training, validation, prediction, and exporting."""
|
||||
model = YOLO(MODEL)
|
||||
model.train(data="coco8.yaml", epochs=1, imgsz=32, optimizer="SGD")
|
||||
model.val(imgsz=32)
|
||||
model.predict(SOURCE, imgsz=32)
|
||||
model.export(format="torchscript")
|
||||
model.export(format="torchscript") # WARNING: Windows slow CI export bug
|
||||
|
||||
|
||||
def test_predict_callback_and_setup():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue