-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (41 loc) · 1.06 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
43
on:
workflow_dispatch:
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
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
- cp313-manylinux_x86_64
- target: cp311-manylinux_x86_64
runs-on: ubuntu-latest
timeout-minutes: 30
release_sdist_only:
uses: ./.github/workflows/publish.yml
with:
test_extras: test
test_command: pytest --pyargs test_package
targets: ''