-
Notifications
You must be signed in to change notification settings - Fork 13
42 lines (40 loc) · 1.02 KB
/
test_publish.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
on:
push:
paths:
- .github/workflows/publish.yml
- .github/workflows/test_publish.yml
pull_request:
paths:
- .github/workflows/publish.yml
- .github/workflows/test_publish.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release_default:
uses: ./.github/workflows/publish.yml
with:
test_extras: test
test_command: pytest --pyargs test_package
timeout-minutes: 30
upload_to_pypi: "true"
release:
uses: ./.github/workflows/publish.yml
with:
test_extras: test
test_command: pytest --pyargs test_package
targets: |
- linux
- cp311-macosx_x86_64
- cp312-macosx_arm64
- cp3?-win_amd64
- cp312-manylinux_aarch64
timeout-minutes: 30
upload_to_pypi: "true"
release_sdist_only:
uses: ./.github/workflows/publish.yml
with:
test_extras: test
test_command: pytest --pyargs test_package
targets: ''
upload_to_pypi: "true"