From 8922bf24973e23eddafd002b2f20639cfbe7d81e Mon Sep 17 00:00:00 2001 From: messense Date: Thu, 2 Sep 2021 14:15:40 +0800 Subject: [PATCH] Test building PyPy wheel on CI --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86434bb45..c6522573a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,6 +88,15 @@ jobs: with: command: test args: --target x86_64-unknown-linux-musl + - uses: actions/setup-python@v2 + with: + python-version: pypy-3.7 + - name: test build pypy wheel + run: | + cargo run -- build -i pypy3 -m test-crates/pyo3-mixed/Cargo.toml + pypy3 -m pip install --force-reinstall test-crates/target/wheels/pyo3_mixed*.whl + pypy3 -m pip install pytest + pypy3 -m pytest test-crates/pyo3-mixed/test_pyo3_mixed.py test-auditwheel: name: Test Auditwheel