Skip to content

Commit

Permalink
CI: MATURIN_TEST_PYTHON set to python3 for PyPy jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Oct 31, 2022
1 parent b414d0d commit b7da87c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down

0 comments on commit b7da87c

Please sign in to comment.