Skip to content

Commit d6e2463

Browse files
committed
add abi3 testing
1 parent b388f6f commit d6e2463

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,34 @@ jobs:
3232
name: tetgen-wheels-${{ matrix.os }}
3333
path: ./wheelhouse/*.whl
3434

35+
test_abi3:
36+
name: Test ABI3 wheels
37+
needs: build_wheels
38+
runs-on: ${{ matrix.os }}
39+
strategy:
40+
matrix:
41+
python-version: ['3.13', '3.14']
42+
os: [ubuntu-24.04, windows-2025, macos-latest, macos-15-intel, ubuntu-24.04-arm]
43+
steps:
44+
- uses: actions/checkout@v6
45+
- uses: actions/setup-python@v6
46+
with:
47+
python-version: ${{ matrix.python-version }}
48+
- uses: actions/download-artifact@v7
49+
with:
50+
pattern: tetgen-wheels-${{ matrix.os }}
51+
path: wheels/
52+
- name: Find ABI3 wheel
53+
id: find_wheel
54+
shell: bash
55+
run: |
56+
WHEEL=$(ls wheels/*abi3*.whl | head -n 1)
57+
echo "wheel=$WHEEL" >> "$GITHUB_OUTPUT"
58+
- name: Install wheel
59+
run: pip install "${{ steps.find_wheel.outputs.wheel }}"[tests]
60+
- name: Run tests
61+
run: pytest
62+
3563
build_sdist:
3664
name: Build source distribution
3765
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)