EXP: exotic architectures in CI #1373
Workflow file for this run
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: CI | |
on: | |
schedule: | |
# run every day at 4am UTC | |
- cron: '0 4 * * *' | |
push: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# tests: | |
# uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c0fde6f7e926df6ed7057255d29afa9c1ad5320 # v1.16.0 | |
# with: | |
# envs: | | |
# - macos: py310-test-oldestdeps | |
# - macos: py311-test | |
# - macos: py312-test | |
# - linux: py310-test-oldestdeps | |
# - linux: py311-test | |
# - linux: py312-test | |
# - linux: py312-test-devdeps | |
# - windows: py310-test-oldestdeps | |
# - windows: py311-test | |
# - windows: py312-test | |
# libraries: | | |
# apt: | |
# - libopenblas-dev | |
# coverage: 'codecov' | |
# publish: | |
# needs: tests | |
# uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@8c0fde6f7e926df6ed7057255d29afa9c1ad5320 # v1.16.0 | |
# with: | |
# test_extras: test | |
# test_command: pytest -p no:warnings --pyargs reproject | |
# targets: | | |
# - cp*-manylinux_x86_64 | |
# - cp*-manylinux_aarch64 | |
# - cp*-macosx_x86_64 | |
# - cp*-macosx_arm64 | |
# - cp*-win_amd64 | |
# # Developer wheels | |
# upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }} | |
# anaconda_user: astropy | |
# anaconda_package: reproject | |
# anaconda_keep_n_latest: 10 | |
# secrets: | |
# pypi_token: ${{ secrets.pypi_token }} | |
# anaconda_token: ${{ secrets.anaconda_token }} | |
tests_more_architectures: | |
runs-on: ubuntu-latest | |
name: Python 3.12 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- arch: s390x | |
- arch: ppc64le | |
- arch: armv7 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: uraimo/run-on-arch-action@5397f9e30a9b62422f302092631c99ae1effcd9e # v2.8.1 | |
name: Run tests | |
id: build | |
with: | |
arch: ${{ matrix.arch }} | |
distro: ubuntu_rolling | |
shell: /bin/bash | |
install: | | |
apt-get update -q -y | |
apt-get install -q -y --no-install-recommends \ | |
python3 \ | |
python3-setuptools-scm \ | |
cython3 \ | |
python3-extension-helpers \ | |
python3-numpy \ | |
python3-astropy \ | |
python3-astropy-healpix \ | |
python3-scipy \ | |
python3-dask \ | |
python3-cloudpickle \ | |
python3-fsspec \ | |
run: | | |
uname -a | |
echo "LONG_BIT="$(getconf LONG_BIT) | |
python3 -m venv --system-site-packages tests | |
source tests/bin/activate | |
# # cython and pyerfa versions in ubuntu repos are too old currently | |
# pip install -U cython | |
# pip install -U --no-build-isolation pyerfa | |
ASTROPY_USE_SYSTEM_ALL=1 pip3 install -v --no-build-isolation -e .[test] | |
pip3 list | |
python3 -m pytest -m "not hypothesis" | |