Skip to content

Commit

Permalink
only run full test suite for one python version when in emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jun 16, 2023
1 parent 94277be commit ddc9aec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,6 @@ outputs:
{% set tests_to_skip = tests_to_skip + " or (test_flight and test_interrupt)" %} # [linux]
# tests that may crash the agent due to out-of-bound memory writes or other risky stuff
{% set tests_to_skip = tests_to_skip + " or test_debug_memory_pool" %} # [aarch64 or ppc64le]
{% set tests_to_skip = tests_to_skip + " or test_write_dataset_with_backpressure" %} # [aarch64 and cuda_compiler != None]
{% set tests_to_skip = tests_to_skip + " or test_named_table_invalid_table_name" %} # [aarch64 and cuda_compiler != None]
{% set tests_to_skip = tests_to_skip + " or test_native_file_pandas_text_reader" %} # [aarch64 and cuda_compiler != None]
# cannot pass -D_LIBCPP_DISABLE_AVAILABILITY to test suite for our older macos sdk
{% set tests_to_skip = tests_to_skip + " or test_cpp_extension_in_python" %} # [osx]
# skip tests that make invalid(-for-conda) assumptions about the compilers setup
Expand All @@ -401,7 +398,12 @@ outputs:
{% set tests_to_skip = tests_to_skip + " or test_total_bytes_allocated " %} # [linux]
{% set tests_to_skip = tests_to_skip + " or test_feather_format " %} # [linux]
# ^^^^^^^ TESTS THAT SHOULDN'T HAVE TO BE SKIPPED ^^^^^^^
{% if not (aarch64 or ppc64le) or py == 311 %}
# only run the full test suite for one python version when in emulation (each run takes ~45min);
# there's essentially zero divergence in behaviour across python versions anyway, and otherwise
# CUDA builds for aarch/ppc consistently would run out of disk space on azure for some reason
- pytest -rfEs -k "not ({{ tests_to_skip }})"
{% endif %}

about:
home: http://github.com/apache/arrow
Expand Down

0 comments on commit ddc9aec

Please sign in to comment.