From 90a12210081abc3e1817280f1a9114f92bee9059 Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Thu, 17 Dec 2020 08:51:00 +0000 Subject: [PATCH] ci: use explicit pypy syntax --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7be432a..9491a15f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: fail-fast: false # If one platform fails, allow the rest to keep testing. matrix: rust: [stable] - python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev, pypy3] + python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev, pypy-3.6] platform: [ { os: "macOS-latest", python-architecture: "x64", rust-target: "x86_64-apple-darwin" }, { os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" }, @@ -54,7 +54,7 @@ jobs: ] exclude: # There is no 64-bit pypy on windows - - python-version: pypy3 + - python-version: pypy-3.6 platform: { os: "windows-latest", python-architecture: "x64" } include: # Test minimal supported Rust version @@ -91,11 +91,11 @@ jobs: run: cargo build --features "num-bigint num-complex" --verbose --target ${{ matrix.platform.rust-target }} # Run tests (except on PyPy, because no embedding API). - - if: matrix.python-version != 'pypy3' + - if: matrix.python-version != 'pypy-3.6' name: Test run: cargo test --features "num-bigint num-complex" --target ${{ matrix.platform.rust-target }} # Run tests again, but in abi3 mode - - if: matrix.python-version != 'pypy3' + - if: matrix.python-version != 'pypy-3.6' name: Test (abi3) run: cargo test --no-default-features --features "abi3,macros" --target ${{ matrix.platform.rust-target }}