-
Notifications
You must be signed in to change notification settings - Fork 26
56 lines (49 loc) · 1.45 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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 }}