-
-
Notifications
You must be signed in to change notification settings - Fork 19
39 lines (36 loc) · 1.16 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
name: CI
on:
pull_request:
push:
schedule:
# Run every Sunday at 06:53 UTC
- cron: 53 6 * * 0
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@9f1f43251dde69da8613ea8e11144f05cdea41d5 # v1.15.0
with:
envs: |
- linux: codestyle
- windows: py38-test-pytestoldest
- linux: py38-test-pytest53
- macos: py39-test-pytest60
- windows: py39-test-pytest61
- linux: py310-test-pytest62
- macos: py310-test-pytest70
- windows: py310-test-pytest71
- linux: py311-test-pytest72
- macos: py311-test-pytest73
- windows: py312-test-pytest74
- linux: py312-test-devdeps
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@9f1f43251dde69da8613ea8e11144f05cdea41d5 # v1.15.0
with:
test_extras: test
test_command: pytest $GITHUB_WORKSPACE/tests; pytest --arraydiff $GITHUB_WORKSPACE/tests
secrets:
pypi_token: ${{ secrets.pypi_password }}