Bump black from 23.1.0 to 24.3.0 #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.46.1 && \ | |
python setup.py build_ext -q -j$(nproc) && \ | |
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://gh.neting.ccmunity/t/concurrecy-not-work-for-push/183068/7 | |
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-32bit | |
cancel-in-progress: true |