@@ -919,12 +919,14 @@ services:
919919 environment :
920920 << : [*common, *ccache, *sccache]
921921 PYTEST_ARGS : # inherit
922+ PYARROW_TEST_ANNOTATIONS : " ON"
922923 volumes : *conda-volumes
923924 command : &python-conda-command
924925 ["
925926 /arrow/ci/scripts/cpp_build.sh /arrow /build &&
926927 /arrow/ci/scripts/python_build.sh /arrow /build &&
927- /arrow/ci/scripts/python_test.sh /arrow"]
928+ /arrow/ci/scripts/python_test.sh /arrow &&
929+ /arrow/ci/scripts/python_test_type_annotations.sh /arrow/python"]
928930
929931 conda-python-emscripten :
930932 # Usage:
@@ -1001,14 +1003,16 @@ services:
10011003 ARROW_S3 : " OFF"
10021004 ARROW_SUBSTRAIT : " OFF"
10031005 ARROW_WITH_OPENTELEMETRY : " OFF"
1006+ PYARROW_TEST_ANNOTATIONS : " ON"
10041007 SETUPTOOLS_SCM_PRETEND_VERSION :
10051008 volumes : *ubuntu-volumes
10061009 deploy : *cuda-deploy
10071010 command : &python-command >
10081011 /bin/bash -c "
10091012 /arrow/ci/scripts/cpp_build.sh /arrow /build &&
10101013 /arrow/ci/scripts/python_build.sh /arrow /build &&
1011- /arrow/ci/scripts/python_test.sh /arrow"
1014+ /arrow/ci/scripts/python_test.sh /arrow &&
1015+ /arrow/ci/scripts/python_test_type_annotations.sh /arrow/python"
10121016
10131017 debian-python :
10141018 # Usage:
@@ -1500,6 +1504,7 @@ services:
15001504 python : ${PYTHON}
15011505 shm_size : *shm-size
15021506 environment :
1507+ PYARROW_TEST_ANNOTATIONS : " ON"
15031508 << : [*common, *ccache, *sccache]
15041509 PARQUET_REQUIRE_ENCRYPTION : # inherit
15051510 HYPOTHESIS_PROFILE : # inherit
@@ -1510,7 +1515,8 @@ services:
15101515 /arrow/ci/scripts/cpp_build.sh /arrow /build &&
15111516 /arrow/ci/scripts/python_build.sh /arrow /build &&
15121517 mamba uninstall -y numpy &&
1513- /arrow/ci/scripts/python_test.sh /arrow"]
1518+ /arrow/ci/scripts/python_test.sh /arrow &&
1519+ /arrow/ci/scripts/python_test_type_annotations.sh /arrow/python"]
15141520
15151521 conda-python-docs :
15161522 # Usage:
@@ -1530,13 +1536,15 @@ services:
15301536 BUILD_DOCS_CPP : " ON"
15311537 BUILD_DOCS_PYTHON : " ON"
15321538 PYTEST_ARGS : " --doctest-modules --doctest-cython"
1539+ PYARROW_TEST_ANNOTATIONS : " ON"
15331540 volumes : *conda-volumes
15341541 command :
15351542 ["/arrow/ci/scripts/cpp_build.sh /arrow /build &&
15361543 /arrow/ci/scripts/python_build.sh /arrow /build &&
15371544 pip install -e /arrow/dev/archery[numpydoc] &&
15381545 archery numpydoc --allow-rule GL10,PR01,PR03,PR04,PR05,PR10,RT03,YD01 &&
1539- /arrow/ci/scripts/python_test.sh /arrow"]
1546+ /arrow/ci/scripts/python_test.sh /arrow &&
1547+ /arrow/ci/scripts/python_test_type_annotations.sh /arrow/python"]
15401548
15411549 conda-python-dask :
15421550 # Possible $DASK parameters:
0 commit comments