-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
58 lines (53 loc) · 2.17 KB
/
32-bit-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: 32 Bit Linux
on:
push:
branches:
- main
- 2.0.x
pull_request:
branches:
- main
- 2.0.x
paths-ignore:
- "doc/**"
permissions:
contents: read
jobs:
pytest:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run 32-bit manylinux2014 Docker Build / Tests
run: |
# Without this (line 34), versioneer will not be able to determine the pandas version.
# This is because of a security update to git that blocks it from reading the config folder if
# it is not owned by the current user. We hit this since the "mounted" folder is not hit by the
# Docker container.
# xref https://github.com/pypa/manylinux/issues/1309
docker pull quay.io/pypa/manylinux2014_i686
docker run --platform linux/386 -v $(pwd):/pandas quay.io/pypa/manylinux2014_i686 \
/bin/bash -xc "cd pandas && \
git config --global --add safe.directory /pandas && \
/opt/python/cp38-cp38/bin/python -m venv ~/virtualenvs/pandas-dev && \
. ~/virtualenvs/pandas-dev/bin/activate && \
python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \
python -m pip install versioneer[toml] && \
python -m pip install cython numpy python-dateutil pytz pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.34.2 && \
python setup.py build_ext -q -j1 && \
python -m pip install --no-build-isolation --no-use-pep517 -e . && \
python -m pip list && \
export PANDAS_CI=1 && \
pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml"
- name: Publish test results for Python 3.8-32 bit full Linux
uses: actions/upload-artifact@v3
with:
name: Test results
path: test-data.xml
if: failure()
concurrency:
# https://github.community/t/concurrecy-not-work-for-push/183068/7
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-32bit
cancel-in-progress: true