From 69aa3fa9337230e2b0e90eb20818a6107be39194 Mon Sep 17 00:00:00 2001 From: QuanyiLi Date: Tue, 24 Oct 2023 17:43:57 +0100 Subject: [PATCH] test fewer --- .github/workflows/main.yml | 2 +- metadrive/tests/test_sensors/test_depth_cam.py | 2 -- metadrive/tests/test_sensors/test_main_camera.py | 2 -- metadrive/tests/test_sensors/test_rgb_cam.py | 2 -- metadrive/tests/test_sensors/test_semantic_cam.py | 2 -- 5 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b989f883..cb3d217e9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -179,7 +179,7 @@ jobs: pytest --cov=./ --cov-config=.coveragerc --cov-report=xml -sv tests/test_export_record_scenario test_sensor_pipeline: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3.9 diff --git a/metadrive/tests/test_sensors/test_depth_cam.py b/metadrive/tests/test_sensors/test_depth_cam.py index ccd5a1759..c1aec301a 100644 --- a/metadrive/tests/test_sensors/test_depth_cam.py +++ b/metadrive/tests/test_sensors/test_depth_cam.py @@ -6,8 +6,6 @@ blackbox_test_configs = dict( standard=dict(stack_size=3, width=256, height=128, rgb_clip=True), small=dict(stack_size=1, width=64, height=32, rgb_clip=False), - large=dict(stack_size=5, width=800, height=600, rgb_clip=True), - no_clip=dict(stack_size=3, width=800, height=600, rgb_clip=False), ) diff --git a/metadrive/tests/test_sensors/test_main_camera.py b/metadrive/tests/test_sensors/test_main_camera.py index 12fe65b18..709f36ff4 100644 --- a/metadrive/tests/test_sensors/test_main_camera.py +++ b/metadrive/tests/test_sensors/test_main_camera.py @@ -5,8 +5,6 @@ blackbox_test_configs = dict( standard=dict(stack_size=3, width=256, height=128, rgb_clip=True), small=dict(stack_size=1, width=64, height=32, rgb_clip=False), - large=dict(stack_size=5, width=800, height=600, rgb_clip=True), - no_clip=dict(stack_size=3, width=800, height=600, rgb_clip=False), ) diff --git a/metadrive/tests/test_sensors/test_rgb_cam.py b/metadrive/tests/test_sensors/test_rgb_cam.py index 7966b61c4..1c8cdeb7b 100644 --- a/metadrive/tests/test_sensors/test_rgb_cam.py +++ b/metadrive/tests/test_sensors/test_rgb_cam.py @@ -6,8 +6,6 @@ blackbox_test_configs = dict( standard=dict(stack_size=3, width=256, height=128, rgb_clip=True), small=dict(stack_size=1, width=64, height=32, rgb_clip=False), - large=dict(stack_size=5, width=800, height=600, rgb_clip=True), - no_clip=dict(stack_size=3, width=800, height=600, rgb_clip=False), ) diff --git a/metadrive/tests/test_sensors/test_semantic_cam.py b/metadrive/tests/test_sensors/test_semantic_cam.py index 4bfc4794c..5504c1d2d 100644 --- a/metadrive/tests/test_sensors/test_semantic_cam.py +++ b/metadrive/tests/test_sensors/test_semantic_cam.py @@ -6,8 +6,6 @@ blackbox_test_configs = dict( standard=dict(stack_size=3, width=256, height=128, rgb_clip=True), small=dict(stack_size=1, width=64, height=32, rgb_clip=False), - large=dict(stack_size=5, width=800, height=600, rgb_clip=True), - no_clip=dict(stack_size=3, width=800, height=600, rgb_clip=False), )