Skip to content

Install libhdf5-dev in CI so PyTables can build from sdist on free-th… #330

Install libhdf5-dev in CI so PyTables can build from sdist on free-th…

Install libhdf5-dev in CI so PyTables can build from sdist on free-th… #330

Workflow file for this run

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:
envs: |
- linux: codestyle
- windows: py39-test-pytestoldest
- linux: py39-test-pytest53
- macos: py39-test-pytest60
- windows: py39-test-pytest61
- linux: py310-test-pytest62
- macos: py310-test-pytest70
- windows: py310-test-pytest71
- linux: py311-test-pytest72
- macos: py311-test-pytest73
- windows: py312-test-pytest74
- linux: py313-test-pytest83
- linux: py313-test-pytest90
- linux: py313-test-parallel
- linux: py313t-test
- linux: py313t-test-parallel
- linux: py313-test-devdeps
libraries: |
apt:
# tables (PyTables) has no free-threaded wheel on PyPI yet, so the
# py313t-test* jobs fall back to building it from source and need
# the HDF5 headers to be present.
- libhdf5-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 }}