Skip to content

Commit 97b9979

Browse files
authored
CI: Move 32 bit Linux build to GHA (#47020)
1 parent 101d443 commit 97b9979

File tree

9 files changed

+50
-60
lines changed

9 files changed

+50
-60
lines changed

.github/workflows/32-bit-linux.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: 32 Bit Linux
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- 1.4.x
8+
pull_request:
9+
branches:
10+
- main
11+
- 1.4.x
12+
paths-ignore:
13+
- "doc/**"
14+
15+
jobs:
16+
pytest:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Run 32-bit manylinux2014 Docker Build / Tests
25+
run: |
26+
docker pull quay.io/pypa/manylinux2014_i686
27+
docker run --platform linux/386 -v $(pwd):/pandas quay.io/pypa/manylinux2014_i686 \
28+
/bin/bash -xc "cd pandas && \
29+
/opt/python/cp38-cp38/bin/python -m venv ~/virtualenvs/pandas-dev && \
30+
. ~/virtualenvs/pandas-dev/bin/activate && \
31+
python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \
32+
pip install cython numpy python-dateutil pytz pytest pytest-xdist pytest-asyncio>=0.17 hypothesis && \
33+
python setup.py build_ext -q -j2 && \
34+
python -m pip install --no-build-isolation --no-use-pep517 -e . && \
35+
export PANDAS_CI=1 && \
36+
pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml"
37+
38+
- name: Publish test results for Python 3.8-32 bit full Linux
39+
uses: actions/upload-artifact@v3
40+
with:
41+
name: Test results
42+
path: test-data.xml
43+
if: failure()

.github/workflows/python-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Unfreeze(by commentingthe if: false() condition) once the
33
# next Python Dev version has released beta 1 and both Cython and numpy support it
44
# After that Python has released, migrate the workflows to the
5-
# posix GHA workflows/Azure pipelines and "freeze" this file by
5+
# posix GHA workflows and "freeze" this file by
66
# uncommenting the if: false() condition
77
# Feel free to modify this comment as necessary.
88

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3509134.svg)](https://doi.org/10.5281/zenodo.3509134)
1111
[![Package Status](https://img.shields.io/pypi/status/pandas.svg)](https://pypi.org/project/pandas/)
1212
[![License](https://img.shields.io/pypi/l/pandas.svg)](https://github.com/pandas-dev/pandas/blob/main/LICENSE)
13-
[![Azure Build Status](https://dev.azure.com/pandas-dev/pandas/_apis/build/status/pandas-dev.pandas?branch=main)](https://dev.azure.com/pandas-dev/pandas/_build/latest?definitionId=1&branch=main)
1413
[![Coverage](https://codecov.io/github/pandas-dev/pandas/coverage.svg?branch=main)](https://codecov.io/gh/pandas-dev/pandas)
1514
[![Downloads](https://static.pepy.tech/personalized-badge/pandas?period=month&units=international_system&left_color=black&right_color=orange&left_text=PyPI%20downloads%20per%20month)](https://pepy.tech/project/pandas)
1615
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pydata/pandas)

azure-pipelines.yml

-50
This file was deleted.

doc/source/development/contributing_codebase.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,11 @@ library. This makes type checkers aware of the type annotations shipped with pan
289289
Testing with continuous integration
290290
-----------------------------------
291291

292-
The pandas test suite will run automatically on `GitHub Actions <https://github.com/features/actions/>`__ and
293-
`Azure Pipelines <https://azure.microsoft.com/en-us/services/devops/pipelines/>`__
292+
The pandas test suite will run automatically on `GitHub Actions <https://github.com/features/actions/>`__
294293
continuous integration services, once your pull request is submitted.
295294
However, if you wish to run the test suite on a branch prior to submitting the pull request,
296295
then the continuous integration services need to be hooked to your GitHub repository. Instructions are here
297-
for `GitHub Actions <https://docs.github.com/en/actions/>`__ and
298-
`Azure Pipelines <https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=azure-devops>`__.
296+
for `GitHub Actions <https://docs.github.com/en/actions/>`__.
299297

300298
A pull-request will be considered for merging when you have an all 'green' build. If any tests are failing,
301299
then you will get a red 'X', where you can click through to see the individual failed tests.

pandas/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ def index_with_missing(request):
658658
"""
659659

660660
# GH 35538. Use deep copy to avoid illusive bug on np-dev
661-
# Azure pipeline that writes into indices_dict despite copy
661+
# GHA pipeline that writes into indices_dict despite copy
662662
ind = indices_dict[request.param].copy(deep=True)
663663
vals = ind.values
664664
if request.param in ["tuples", "mi-with-dt64tz-level", "multi"]:

pandas/tests/io/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def s3_base(worker_id):
7171
if is_platform_arm() or is_platform_mac() or is_platform_windows():
7272
# NOT RUN on Windows/MacOS/ARM, only Ubuntu
7373
# - subprocess in CI can cause timeouts
74-
# - Azure pipelines/Github Actions do not support
74+
# - Github Actions do not support
7575
# container services for the above OSs
7676
# - CircleCI will probably hit the Docker rate pull limit
7777
pytest.skip(

pandas/tests/window/test_numba.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# TODO(GH#44584): Mark these as pytest.mark.single_cpu
2121
pytestmark = pytest.mark.skipif(
2222
is_ci_environment() and (is_platform_windows() or is_platform_mac()),
23-
reason="On Azure CI, Windows can fail with "
23+
reason="On GHA CI, Windows can fail with "
2424
"'Windows fatal exception: stack overflow' "
2525
"and MacOS can timeout",
2626
)

pandas/tests/window/test_online.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# TODO(GH#44584): Mark these as pytest.mark.single_cpu
1818
pytestmark = pytest.mark.skipif(
1919
is_ci_environment() and (is_platform_windows() or is_platform_mac()),
20-
reason="On Azure CI, Windows can fail with "
20+
reason="On GHA CI, Windows can fail with "
2121
"'Windows fatal exception: stack overflow' "
2222
"and MacOS can timeout",
2323
)

0 commit comments

Comments
 (0)