@@ -241,6 +241,49 @@ jobs:
241
241
group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-32bit
242
242
cancel-in-progress : true
243
243
244
+ Linux-Musl :
245
+ runs-on : ubuntu-22.04
246
+ container :
247
+ image : quay.io/pypa/musllinux_1_1_x86_64
248
+ steps :
249
+ - name : Checkout pandas Repo
250
+ # actions/checkout does not work since it requires node
251
+ run : |
252
+ git config --global --add safe.directory $PWD
253
+
254
+ if [ $GITHUB_EVENT_NAME != pull_request ]; then
255
+ git clone --recursive --branch=$GITHUB_REF_NAME https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE
256
+ git reset --hard $GITHUB_SHA
257
+ else
258
+ git clone --recursive https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE
259
+ git fetch origin $GITHUB_REF:my_ref_name
260
+ git checkout $GITHUB_BASE_REF
261
+ git -c user.email="[email protected] " merge --no-commit my_ref_name
262
+ fi
263
+ - name : Configure System Packages
264
+ run : |
265
+ apk update
266
+ apk add musl-locales
267
+ - name : Build environment
268
+ run : |
269
+ /opt/python/cp39-cp39/bin/python -m venv ~/virtualenvs/pandas-dev
270
+ . ~/virtualenvs/pandas-dev/bin/activate
271
+ python -m pip install --no-cache-dir --no-deps -U pip wheel setuptools
272
+ python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
273
+ python setup.py build_ext -q -j$(nproc)
274
+ python -m pip install --no-cache-dir --no-build-isolation --no-use-pep517 -e .
275
+ python -m pip list --no-cache-dir
276
+
277
+ - name : Run Tests
278
+ run : |
279
+ . ~/virtualenvs/pandas-dev/bin/activate
280
+ export PANDAS_CI=1
281
+ python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml
282
+ concurrency :
283
+ # https://github.community/t/concurrecy-not-work-for-push/183068/7
284
+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-musl
285
+ cancel-in-progress : true
286
+
244
287
python-dev :
245
288
# This job may or may not run depending on the state of the next
246
289
# unreleased Python version. DO NOT DELETE IT.
0 commit comments