fixed tests

test-quan
Francesco Mattioli 3 weeks ago
parent 7ccb9010a6
commit 1fa50223af
  1. 3
      docker/Dockerfile-runner
  2. 2
      tests/test_exports.py

@ -27,9 +27,6 @@ RUN pip install pytest-cov
RUN ./bin/installdependencies.sh && \
apt-get -y install libicu-dev
# Install Java 17 for imx500 export tests
RUN apt update && apt install -y openjdk-17-jdk openjdk-17-jre
# Inline ENTRYPOINT command to configure and start runner with default TOKEN and NAME
ENTRYPOINT sh -c './config.sh --url https://github.com/ultralytics/ultralytics \
--token ${GITHUB_RUNNER_TOKEN:-TOKEN} \

@ -207,7 +207,7 @@ def test_export_ncnn():
YOLO(file)(SOURCE, imgsz=32) # exported model inference
@pytest.mark.skipif(True, reason="Test disabled as keras and tensorflow version conflicts with tflite")
@pytest.mark.skipif(True, reason="Test disabled as keras and tensorflow version conflicts with tflite export.")
@pytest.mark.skipif(not LINUX or MACOS, reason="Skipping test on Windows and Macos")
def test_export_imx500_ptq():
"""Test YOLOv8n exports to imx500 format."""

Loading…
Cancel
Save