Skip to content

Commit be32fc2

Browse files
fix(ci): fixet test-wheels actions
1 parent 4bf6b7f commit be32fc2

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

‎.github/workflows/test-linux-wheel.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,17 @@ on:
4949
default: "-m 'not integration_test' -m 'not stress_test'"
5050

5151
jobs:
52+
build-wheel:
53+
if: github.event_name == 'workflow_dispatch'
54+
uses: ./.github/workflows/build-linux-wheel.yml
55+
with:
56+
python-version: ${{ inputs.python-version }}
57+
timeout-minutes: ${{ inputs.timeout-minutes }}
58+
5259
test-wheels-linux:
5360
runs-on: ubuntu-latest
61+
needs: [build-wheel]
62+
if: always() && (needs.build-wheel.result == 'success' || needs.build-wheel.result == 'skipped')
5463
timeout-minutes: ${{ fromJSON(inputs.timeout-minutes) }}
5564
env:
5665
REQUIREMENTS_FILE: ${{ inputs.python-version == '3.9' && 'requirements.3.9.txt' || 'requirements.txt' }}

‎.github/workflows/test-mac-wheel.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,17 @@ on:
4040
default: "-m 'not integration_test' -m 'not stress_test'"
4141

4242
jobs:
43+
build-wheel:
44+
if: github.event_name == 'workflow_dispatch'
45+
uses: ./.github/workflows/build-mac-wheel.yml
46+
with:
47+
python-version: ${{ inputs.python-version }}
48+
timeout-minutes: ${{ inputs.timeout-minutes }}
49+
4350
test-wheels-macos:
4451
runs-on: macos-latest
52+
needs: [build-wheel]
53+
if: always() && (needs.build-wheel.result == 'success' || needs.build-wheel.result == 'skipped')
4554
timeout-minutes: ${{ fromJSON(inputs.timeout-minutes) }}
4655
env:
4756
REQUIREMENTS_FILE: ${{ inputs.python-version == '3.9' && 'requirements.3.9.txt' || 'requirements.txt' }}

‎.github/workflows/test-windows-wheel.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,18 @@ on:
2222
default: '3.12'
2323

2424
jobs:
25+
build-wheel:
26+
if: github.event_name == 'workflow_dispatch'
27+
uses: ./.github/workflows/build-windows-wheel.yml
28+
with:
29+
python-version: ${{ inputs.python-version }}
30+
python-tag: ${{ inputs.python-version == '3.9' && '39' || inputs.python-version == '3.10' && '310' || inputs.python-version == '3.11' && '311' || inputs.python-version == '3.12' && '312' || inputs.python-version == '3.13' && '313' || '314' }}
31+
architecture: "AMD64"
32+
2533
test-windows:
2634
runs-on: windows-latest
35+
needs: [build-wheel]
36+
if: always() && (needs.build-wheel.result == 'success' || needs.build-wheel.result == 'skipped')
2737
env:
2838
REQUIREMENTS_FILE: ${{ inputs.python-version == '3.9' && 'requirements.3.9.txt' || 'requirements.txt' }}
2939
steps:

0 commit comments

Comments
 (0)