-
-
Notifications
You must be signed in to change notification settings - Fork 14
52 lines (43 loc) · 1.36 KB
/
main.yml
File metadata and controls
52 lines (43 loc) · 1.36 KB
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
name: CI
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@e97344095b099e1d729fe97429078c9975921d8a # v2.6.2
with:
posargs: --openmp-expected=True
coverage: codecov
envs: |
# Standard tests
- linux: py310-test-oldestdeps
- linux: py311-test
- linux: py312-test
- linux: py313-test
- linux: py313-test-devdeps
- macos: py312-test
posargs: --openmp-expected=False
- macos: py313-test-devdeps
posargs: --openmp-expected=False
- windows: py310-test
- windows: py312-test-devdeps
# Test with more compilers, for the OpenMP helpers
- macos: py313-test-osxclang-conda
runs-on: macos-14
coverage: ''
- linux: py310-test-linuxgcc-conda
coverage: ''
# Test downstream packages
- linux: py313-downstream
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@e97344095b099e1d729fe97429078c9975921d8a # v2.6.2
with:
test_extras: test
test_command: pytest --pyargs extension_helpers
secrets:
pypi_token: ${{ secrets.PYPI_TOKEN }}