Debian Codegraph @

.github/workflows/main.yml

raw
1 name: CI
2
3 on:
4 push:
5 pull_request:
6
7 concurrency:
8 group: ${{ github.workflow }}-${{ github.ref }}
9 cancel-in-progress: true
10
11 jobs:
12
13 tests:
14 uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
15 with:
16 runs-on: |
17 linux: ubuntu-22.04
18 envs: |
19 - linux: py39-test-numpy119
20 - linux: py39-test-numpy120
21 - linux: py39-test-numpy121
22 - linux: py39-test-numpy122
23 - linux: py39-test-numpy123
24 - linux: py310-test-numpy124
25 - linux: py310-test-numpy125
26 - linux: py311-test-numpy126
27 - linux: py311-test-numpy20
28 - linux: py312-test-numpydev
29
30 - macos: py39-test-numpy119
31 - macos: py39-test-numpy120
32 - macos: py39-test-numpy121
33 - macos: py39-test-numpy122
34 - macos: py39-test-numpy123
35 - macos: py310-test-numpy124
36 - macos: py310-test-numpy125
37 - macos: py311-test-numpy126
38 - macos: py311-test-numpy20
39
40 - windows: py39-test-numpy119
41 - windows: py39-test-numpy120
42 - windows: py39-test-numpy121
43 - windows: py39-test-numpy122
44 - windows: py39-test-numpy123
45 - windows: py310-test-numpy124
46 - windows: py310-test-numpy125
47 - windows: py311-test-numpy126
48 - windows: py311-test-numpy20
49
50 publish:
51 uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1
52 with:
53 test_extras: test
54 test_command: pytest --pyargs fast_histogram -m "not hypothesis"
55 sdist-runs-on: ubuntu-22.04
56 targets: |
57 - cp*-manylinux_x86_64
58 - cp*-manylinux_aarch64
59 - cp*-musllinux_x86_64
60 # - cp*-musllinux_aarch64
61 - pp*-manylinux_x86_64
62 # - pp*-manylinux_aarch64
63 - cp*-macosx_x86_64
64 - cp*-macosx_arm64
65 - windows
66 secrets:
67 pypi_token: ${{ secrets.PYPI_TOKEN }}