-
-
Notifications
You must be signed in to change notification settings - Fork 66
46 lines (41 loc) · 1.08 KB
/
ci_workflows.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
name: CI
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- macos: py38-test-oldestdeps
- macos: py39-test
- macos: py310-test
- linux: py38-test-oldestdeps
- linux: py38-test
- linux: py39-test
- linux: py310-test
- linux: py311-test-devdeps
- windows: py38-test-oldestdeps
- windows: py39-test
- windows: py310-test
libraries: |
apt:
- libopenblas-dev
coverage: 'codecov'
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1
with:
test_extras: test
test_command: pytest -p no:warnings --pyargs reproject
targets: |
- cp*-manylinux_x86_64
- cp*-manylinux_aarch64
- cp*-macosx_x86_64
- cp*-macosx_arm64
- cp*-win_amd64
secrets:
pypi_token: ${{ secrets.pypi_token }}