Add a test for abi3-py36

This commit is contained in:
kngwyu 2020-12-15 22:57:09 +09:00 committed by David Hewitt
parent 8c6e62ec98
commit 164c41e610
1 changed files with 5 additions and 0 deletions

View File

@ -102,6 +102,11 @@ jobs:
name: Test (abi3)
run: cargo test --no-default-features --features "abi3,macros" --target ${{ matrix.platform.rust-target }}
# Run tests again, for abi3-py36 (the minimal Python version)
- if: (matrix.python-version != 'pypy3') && (matrix.python-version != '3.6')
name: Test (abi3-py36)
run: cargo test --no-default-features --features "abi3-py36,macros" --target ${{ matrix.platform.rust-target }}
- name: Test proc-macro code
run: cargo test --manifest-path=pyo3-macros-backend/Cargo.toml --target ${{ matrix.platform.rust-target }}