From 3bb18023f9b00784faeae788bad566db398ae689 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Fri, 17 May 2024 08:12:00 +1100 Subject: [PATCH] do not run test suite in emulation --- recipe/meta.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index fd3f2df..89ef3ee 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -56,19 +56,12 @@ test: # Skip test suite on PyPy as it segfaults there # xref: https://github.com/conda-forge/pandas-feedstock/issues/148 # - # Also skip `test_rolling_var_numerical_issues` on `ppc64le` as it is a known test failure. - # xref: https://github.com/conda-forge/pandas-feedstock/issues/149 + # do not run test suite in emulation because it takes ~5h; rely on upstream CI for aarch {% set markers = ["not clipboard", "not single_cpu", "not slow", "not network", "not db"] %} - {% set markers = markers + ["not arm_slow"] %} # [aarch64 or ppc64le] {% set extra_args = ["-m " + " and ".join(markers)] %} {% set tests_to_skip = "_not_a_real_test" %} - {% set tests_to_skip = tests_to_skip + " or test_rolling_var_numerical_issues" %} # [ppc64le] - {% set tests_to_skip = tests_to_skip + " or test_std_timedelta64_skipna_false" %} # [ppc64le] - {% set tests_to_skip = tests_to_skip + " or test_value_counts_normalized[M8[ns]]" %} # [ppc64le] - {% set tests_to_skip = tests_to_skip + " or test_to_datetime_format_YYYYMMDD_with_nat" %} # [ppc64le] - {% set tests_to_skip = tests_to_skip + " or (TestReductions and test_median_2d)" %} # [ppc64le] {% set extra_args = extra_args + ["-k", "not (" + tests_to_skip + ")", "--no-strict-data-files"] %} - - python -c "import pandas; pandas.test(extra_args={{ extra_args }})" # [python_impl == "cpython"] + - python -c "import pandas; pandas.test(extra_args={{ extra_args }})" # [(build_platform == target_platform) and (python_impl == "cpython")] requires: - pip - pytest >=6.0