Test 32-bit support via x86 Alpine Setup Action Linux #4
Workflow file for this run
This file contains hidden or 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: Tests on i386 | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-i386: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 # required for version resolution | |
| - name: Set up Docker | |
| uses: docker/setup-docker-action@v4 | |
| with: | |
| version: 'latest' | |
| - name: Setup Alpine Linux environment | |
| uses: jirutka/[email protected] | |
| with: | |
| arch: i386 | |
| - name: Install numcodecs | |
| run: | | |
| export DISABLE_NUMCODECS_AVX2="" | |
| python -m pip install -v -e .[test,test_extras,msgpack,crc32c,pcodec,zfpy] | |
| - name: Install zarr-python | |
| # Since zarr v3 requires numpy >= 1.25, on Python 3.11 leave it out | |
| # so we can have some tests of our minimum version of numpy (1.24) | |
| if: matrix.python-version != '3.11' | |
| run: python -m pip install zarr>=3 | |
| - name: List installed packages | |
| run: python -m pip list | |
| - name: Run tests | |
| shell: "bash -l {0}" | |
| run: pytest -v | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true |