Skip to content

Commit aadecb1

Browse files
committed
chore: debug wheel testing
1 parent aa7d218 commit aadecb1

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,6 @@ jobs:
2525
- name: Build wheels
2626
run: python -m cibuildwheel --output-dir wheelhouse
2727

28-
- name: Test wheels in virtual environments
29-
run: |
30-
for wheel in wheelhouse/*.whl; do
31-
# Skip PyPy wheels for now (they need different handling)
32-
if [[ $wheel == *"pypy"* ]]; then
33-
echo "Skipping PyPy wheel: $wheel"
34-
continue
35-
fi
36-
37-
# Extract Python version from wheel name
38-
if [[ $wheel =~ cp([0-9]{2}) ]]; then
39-
PY_VERSION="${BASH_REMATCH[1]}"
40-
echo "Testing wheel $wheel with Python 3.${PY_VERSION}"
41-
42-
# Create new venv for this wheel
43-
python3.${PY_VERSION} -m venv .venv-${PY_VERSION}
44-
source .venv-${PY_VERSION}/bin/activate
45-
46-
# Install and test wheel
47-
pip install "$wheel"
48-
python -c "import synapse"
49-
deactivate
50-
51-
# Clean up
52-
rm -rf .venv-${PY_VERSION}
53-
fi
54-
done
55-
5628
- uses: actions/upload-artifact@v4
5729
with:
5830
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}

0 commit comments

Comments
 (0)