Added wheel building configuration, and build with Numpy 2.0.0rc1 or later #127
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: Continuous Integration | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 | |
with: | |
libraries: | | |
apt: | |
- libhdf5-serial-dev | |
- libmpich-dev | |
brew: | |
- hdf5-mpi | |
envs: | | |
# Tests that don't rely on Fortran binaries | |
- linux: py39-test-nobinaries | |
- linux: py310-test-nobinaries | |
- linux: py311-test-nobinaries | |
- linux: py312-test-nobinaries | |
- macos: py39-test-nobinaries | |
- macos: py310-test-nobinaries | |
- macos: py311-test-nobinaries | |
- macos: py312-test-nobinaries | |
- windows: py39-test-nobinaries | |
- windows: py310-test-nobinaries | |
- windows: py311-test-nobinaries | |
- windows: py312-test-nobinaries | |
# Main tests including Fortran binaries | |
- linux: py39-test | |
- linux: py310-test | |
- linux: py311-test | |
- linux: py312-test | |
# Bit-level tests | |
- linux: py39-test-bitlevel | |
runs-on: ubuntu-20.04 | |
- linux: py310-test-bitlevel | |
runs-on: ubuntu-20.04 | |
publish: | |
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1 | |
with: | |
test_extras: test | |
test_command: pytest --pyargs hyperion -m "not requires_hyperion_binaries" | |
targets: | | |
- linux | |
- macos | |
#- windows | |
secrets: | |
pypi_token: ${{ secrets.pypi_token }} |