Skip to content

Commit 7de59e8

Browse files
authored
CI: Debug min build timing out (#45946) (#45974)
1 parent b75e82d commit 7de59e8

39 files changed

+69
-55
lines changed

.github/workflows/datamanger.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
data_manager:
1919
name: Test experimental data manager
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 120
2122
services:
2223
moto:
2324
image: motoserver/moto
@@ -43,7 +44,7 @@ jobs:
4344
- name: Run tests
4445
env:
4546
PANDAS_DATA_MANAGER: array
46-
PATTERN: "not network and not clipboard"
47+
PATTERN: "not network and not clipboard and not single_cpu"
4748
PYTEST_WORKERS: "auto"
4849
PYTEST_TARGET: pandas
4950
run: |

.github/workflows/posix.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,19 @@ jobs:
2222
defaults:
2323
run:
2424
shell: bash -l {0}
25+
timeout-minutes: 120
2526
strategy:
2627
matrix:
2728
settings: [
28-
[actions-38-downstream_compat.yaml, "not slow and not network", "", "", "", "", ""],
29-
[actions-38-minimum_versions.yaml, "", "", "", "", "", ""],
30-
[actions-38.yaml, "not slow and not network", "language-pack-it", "it_IT.utf8", "it_IT.utf8", "", ""],
31-
[actions-38.yaml, "not slow and not network", "language-pack-zh-hans", "zh_CN.utf8", "zh_CN.utf8", "", ""],
32-
[actions-38.yaml, "", "", "", "", "", ""],
33-
[actions-pypy-38.yaml, "not slow", "", "", "", "", "--max-worker-restart 0"],
34-
[actions-39.yaml, "", "", "", "", "", ""],
35-
[actions-310-numpydev.yaml, "not slow and not network", "", "", "", "deprecate", "-W error"],
36-
[actions-310.yaml, "", "", "", "", "", ""],
29+
[actions-38-downstream_compat.yaml, "not slow and not network and not single_cpu", "", "", "", "", ""],
30+
[actions-38-minimum_versions.yaml, "not single_cpu", "", "", "", "", ""],
31+
[actions-38.yaml, "not slow and not network and not single_cpu", "language-pack-it", "it_IT.utf8", "it_IT.utf8", "", ""],
32+
[actions-38.yaml, "not slow and not network and not single_cpu", "language-pack-zh-hans", "zh_CN.utf8", "zh_CN.utf8", "", ""],
33+
[actions-38.yaml, "not single_cpu", "", "", "", "", ""],
34+
[actions-pypy-38.yaml, "not slow and not single_cpu", "", "", "", "", "--max-worker-restart 0"],
35+
[actions-39.yaml, "not single_cpu", "", "", "", "", ""],
36+
[actions-310-numpydev.yaml, "not slow and not network and not single_cpu", "", "", "", "deprecate", "-W error"],
37+
[actions-310.yaml, "not single_cpu", "", "", "", "", ""],
3738
]
3839
fail-fast: false
3940
env:

.github/workflows/python-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323
env:
2424
PYTEST_WORKERS: "auto"
2525
PANDAS_CI: 1
26-
PATTERN: "not slow and not network and not clipboard"
26+
PATTERN: "not slow and not network and not clipboard and not single_cpu"
2727
COVERAGE: true
2828
PYTEST_TARGET: pandas
2929

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pr:
1818
variables:
1919
PYTEST_WORKERS: auto
2020
PYTEST_TARGET: pandas
21-
PATTERN: "not slow and not high_memory and not db and not network"
21+
PATTERN: "not slow and not high_memory and not db and not network and not single_cpu"
2222
PANDAS_CI: 1
2323

2424
jobs:

ci/azure/posix.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,32 @@ jobs:
1111
py38_macos_1:
1212
ENV_FILE: ci/deps/azure-macos-38.yaml
1313
CONDA_PY: "38"
14-
PATTERN: "not slow"
14+
PATTERN: "not slow and not single_cpu"
1515
PYTEST_TARGET: "pandas/tests/[a-h]*"
1616
py38_macos_2:
1717
ENV_FILE: ci/deps/azure-macos-38.yaml
1818
CONDA_PY: "38"
19-
PATTERN: "not slow"
19+
PATTERN: "not slow and not single_cpu"
2020
PYTEST_TARGET: "pandas/tests/[i-z]*"
2121
py39_macos_1:
2222
ENV_FILE: ci/deps/azure-macos-39.yaml
2323
CONDA_PY: "39"
24-
PATTERN: "not slow"
24+
PATTERN: "not slow and not single_cpu"
2525
PYTEST_TARGET: "pandas/tests/[a-h]*"
2626
py39_macos_2:
2727
ENV_FILE: ci/deps/azure-macos-39.yaml
2828
CONDA_PY: "39"
29-
PATTERN: "not slow"
29+
PATTERN: "not slow and not single_cpu"
3030
PYTEST_TARGET: "pandas/tests/[i-z]*"
3131
py310_macos_1:
3232
ENV_FILE: ci/deps/azure-macos-310.yaml
3333
CONDA_PY: "310"
34-
PATTERN: "not slow"
34+
PATTERN: "not slow and not single_cpu"
3535
PYTEST_TARGET: "pandas/tests/[a-h]*"
3636
py310_macos_2:
3737
ENV_FILE: ci/deps/azure-macos-310.yaml
3838
CONDA_PY: "310"
39-
PATTERN: "not slow"
39+
PATTERN: "not slow and not single_cpu"
4040
PYTEST_TARGET: "pandas/tests/[i-z]*"
4141

4242
steps:

pandas/compat/pyarrow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
pa_version_under4p0 = _palv < Version("4.0.0")
1414
pa_version_under5p0 = _palv < Version("5.0.0")
1515
pa_version_under6p0 = _palv < Version("6.0.0")
16+
pa_version_under7p0 = _palv < Version("7.0.0")
1617
except ImportError:
1718
pa_version_under1p01 = True
1819
pa_version_under2p0 = True
1920
pa_version_under3p0 = True
2021
pa_version_under4p0 = True
2122
pa_version_under5p0 = True
2223
pa_version_under6p0 = True
24+
pa_version_under7p0 = True

pandas/tests/base/test_unique.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_nunique_null(null_obj, index_or_series_obj):
104104
assert obj.nunique(dropna=False) == max(0, num_unique_values)
105105

106106

107-
@pytest.mark.single
107+
@pytest.mark.single_cpu
108108
@pytest.mark.xfail(
109109
reason="Flaky in the CI. Remove once CI has a single build: GH 44584", strict=False
110110
)

pandas/tests/frame/methods/test_rank.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def test_rank_pct_true(self, method, exp):
327327
expected = DataFrame(exp)
328328
tm.assert_frame_equal(result, expected)
329329

330-
@pytest.mark.single
330+
@pytest.mark.single_cpu
331331
@pytest.mark.high_memory
332332
def test_pct_max_many_rows(self):
333333
# GH 18271

pandas/tests/io/excel/test_readers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,7 @@ def test_read_from_http_url(self, read_ext):
775775
tm.assert_frame_equal(url_table, local_table)
776776

777777
@td.skip_if_not_us_locale
778+
@pytest.mark.single_cpu
778779
def test_read_from_s3_url(self, read_ext, s3_resource, s3so):
779780
# Bucket "pandas-test" created in tests/io/conftest.py
780781
with open("test1" + read_ext, "rb") as f:
@@ -786,6 +787,7 @@ def test_read_from_s3_url(self, read_ext, s3_resource, s3so):
786787
local_table = pd.read_excel("test1" + read_ext)
787788
tm.assert_frame_equal(url_table, local_table)
788789

790+
@pytest.mark.single_cpu
789791
def test_read_from_s3_object(self, read_ext, s3_resource, s3so):
790792
# GH 38788
791793
# Bucket "pandas-test" created in tests/io/conftest.py

pandas/tests/io/json/test_compression.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def test_read_zipped_json(datapath):
3838

3939

4040
@td.skip_if_not_us_locale
41+
@pytest.mark.single_cpu
4142
def test_with_s3_url(compression, s3_resource, s3so):
4243
# Bucket "pandas-test" created in tests/io/conftest.py
4344

0 commit comments

Comments
 (0)