diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6370611a6..6c3535d7a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -155,7 +155,13 @@ jobs: with: path: test-crates/targets key: test-crates-${{ runner.os }}-${{ steps.rustup.outputs.rustc_hash }}-${{ matrix.python-version }}-${{ hashFiles('test-crates/*/Cargo.lock') }} + - name: Set MATURIN_TEST_PYTHON for PyPy + shell: bash + if: contains(matrix.python-version, 'pypy') + run: echo "MATURIN_TEST_PYTHON=python3" >> $GITHUB_ENV - name: cargo test + env: + MATURIN_TEST_PYTHON: python3 run: cargo nextest run --features password-storage - name: test cross compiling with zig if: ${{ !contains(matrix.python-version, 'pypy') }}