From d79aa071304938f4724c32bdbbdfcfe246f33c37 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 22 Jan 2025 21:45:19 +0100 Subject: [PATCH] revert obsolete changes --- .github/workflows/tests.yml | 34 ++++++++----------- .../backends/test_physics_methods.py | 2 +- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef4124a3d..cee90df82 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -110,26 +110,22 @@ jobs: platform: [ubuntu-24.04, macos-13, macos-14, windows-latest] python-version: ["3.9", "3.12"] test-suite: ["unit_tests/!(dynamics)", "unit_tests/dynamics/!(collisions)", "unit_tests/dynamics/collisions", "smoke_tests/no_env", "smoke_tests/box", "smoke_tests/parcel_a", "smoke_tests/parcel_b", "smoke_tests/parcel_c", "smoke_tests/parcel_d", "smoke_tests/kinematic_1d", "smoke_tests/kinematic_2d", "tutorials_tests"] - include: - - platform: "windows-latest" - python-version: "3.12" + exclude: + - platform: "macos-14" + python-version: "3.9" + - test-suite: "devops_tests" + python-version: "3.9" + # TODO #1406 + - platform: "macos-14" + test-suite: "smoke_tests/box" + - platform: "macos-14" + test-suite: "smoke_tests/parcel_a" + - platform: "macos-14" test-suite: "smoke_tests/parcel_d" -# exclude: -# - platform: "macos-14" -# python-version: "3.9" -# - test-suite: "devops_tests" -# python-version: "3.9" -# # TODO #1406 -# - platform: "macos-14" -# test-suite: "smoke_tests/box" -# - platform: "macos-14" -# test-suite: "smoke_tests/parcel_a" -# - platform: "macos-14" -# test-suite: "smoke_tests/parcel_d" -# - platform: "macos-14" -# test-suite: "smoke_tests/kinematic_2d" -# - platform: "macos-14" -# test-suite: "unit_tests/!(dynamics)" + - platform: "macos-14" + test-suite: "smoke_tests/kinematic_2d" + - platform: "macos-14" + test-suite: "unit_tests/!(dynamics)" fail-fast: false runs-on: ${{ matrix.platform }} timeout-minutes: ${{ startsWith(matrix.platform, 'windows-') && 35 || 30 }} diff --git a/tests/unit_tests/backends/test_physics_methods.py b/tests/unit_tests/backends/test_physics_methods.py index 9b202a90d..b1a546aa9 100644 --- a/tests/unit_tests/backends/test_physics_methods.py +++ b/tests/unit_tests/backends/test_physics_methods.py @@ -35,7 +35,7 @@ def test_temperature_pressure_rh(backend_instance): # Assert assert 282 * si.K < T.amin() < 283 * si.K assert 810 * si.hPa < p.amin() < 830 * si.hPa - assert 1.10 < RH.amin() < 1.11 + assert 1.12 < RH.amin() < 1.13 @staticmethod @pytest.mark.parametrize("variant", ("LiquidSpheres", "MixedPhaseSpheres"))