forked from astropy/reproject
-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (51 loc) · 1.57 KB
/
ci_workflows.yml
File metadata and controls
58 lines (51 loc) · 1.57 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
53
54
55
56
57
58
name: CI
on:
schedule:
# run every day at 4am UTC
- cron: '0 4 * * *'
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@8c0fde6f7e926df6ed7057255d29afa9c1ad5320 # v1.16.0
with:
envs: |
- macos: py311-test-oldestdeps
- macos: py312-test
- macos: py313-test
- linux: py311-test-oldestdeps
- linux: py312-test
runs-on: ubuntu-24.04-arm
- linux: py313-test-devdeps
- windows: py311-test-oldestdeps
- windows: py311-test
- windows: py313-test
libraries: |
apt:
- libopenblas-dev
coverage: 'codecov'
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@8c0fde6f7e926df6ed7057255d29afa9c1ad5320 # v1.16.0
with:
test_extras: test
test_command: pytest -p no:warnings --pyargs reproject
targets: |
- cp*-manylinux_x86_64
- target: cp*-manylinux_aarch64
runs-on: ubuntu-24.04-arm
- cp*-macosx_x86_64
- cp*-macosx_arm64
- cp*-win_amd64
# Developer wheels
upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
anaconda_user: astropy
anaconda_package: reproject
anaconda_keep_n_latest: 10
secrets:
pypi_token: ${{ secrets.pypi_token }}
anaconda_token: ${{ secrets.anaconda_token }}