-
Notifications
You must be signed in to change notification settings - Fork 46
49 lines (42 loc) · 1.09 KB
/
python-wheels-test.yml
File metadata and controls
49 lines (42 loc) · 1.09 KB
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
47
48
49
name: Python-manylinux-arch
on:
workflow_call:
inputs:
os:
description: 'Host OS'
required: false
type: string
default: '["ubuntu-latest"]'
arch:
description: 'Architecture target'
required: true
type: string
permissions: write-all
jobs:
test_wheels:
name: Test Python wheels
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ${{ fromJSON(inputs.os) }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Download the wheels
uses: actions/download-artifact@v7
with:
path: dist/
pattern: python-wheels-${{runner.os}}_${{inputs.arch}}*
merge-multiple: true
- name: Install and run
run: |
cd dist/
rm -f *musllinux*.whl
pip debug --verbose
ls -alh
pip install $(ls *cp312*.whl) --break-system-packages
cd ../tests
python test_minimal.py
shell: bash