-
-
Notifications
You must be signed in to change notification settings - Fork 24
46 lines (41 loc) · 965 Bytes
/
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:
branches:
- 'main'
- '*.*'
- '!*backport*'
tags:
- 'v*'
- '!*dev*'
- '!*pre*'
- '!*post*'
pull_request:
# Allow manual runs through the web UI
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: py312
- linux: py311
- linux: py310
- windows: py39
- macos: py38
- linux: py312-devdeps
- linux: py311-conda
toxdeps: tox-conda
- linux: mypy
coverage: 'codecov'
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
test_extras: tests,ftp
test_command: pytest --pyargs parfive
secrets:
pypi_token: ${{ secrets.pypi_token }}