TMP: only run py313t-test* in CI to save time while iterating on libhdf5 #336
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| schedule: | |
| # Run every Sunday at 06:53 UTC | |
| - cron: 53 6 * * 0 | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@2835f0cacddf3f8de198db9afdb5354a5cebe0ef # v2.6.3 | |
| with: | |
| # TMP: only the free-threaded envs run here while we iterate on | |
| # the libhdf5/libblosc apt install for py313t-test*. Restore the | |
| # full matrix from main before merging. | |
| envs: | | |
| - linux: py313t-test | |
| - linux: py313t-test-parallel | |
| # HDF5 plus the LZO / bzip2 / Blosc compression headers that PyTables | |
| # probes for at build time -- needed because tables has no free-threaded | |
| # wheel on PyPI yet, so the py313t-test* jobs build it from sdist. | |
| libraries: | | |
| apt: | |
| - libhdf5-dev | |
| - liblzo2-dev | |
| - libbz2-dev | |
| - libblosc-dev | |
| - libblosc2-dev | |
| publish: | |
| needs: tests | |
| uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@2835f0cacddf3f8de198db9afdb5354a5cebe0ef # v2.6.3 | |
| with: | |
| test_extras: test | |
| test_command: pytest $GITHUB_WORKSPACE/tests; pytest --arraydiff $GITHUB_WORKSPACE/tests | |
| python-version: '3.9' | |
| secrets: | |
| pypi_token: ${{ secrets.pypi_password }} |