Run abi3 tests in CI

This commit is contained in:
Alex Gaynor 2020-09-19 11:27:06 -04:00 committed by GitHub
parent c07e1aa40a
commit 2a85c17f11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,6 +95,10 @@ jobs:
- if: matrix.python-version != 'pypy3'
name: Test
run: cargo test --features "num-bigint num-complex"
# Run tests again, but in abi3 mode
- if: matrix.python-version != 'pypy3'
name: Test
run: cargo test --no-default-features --features "abi3,macros"
- name: Test proc-macro code
run: cargo test --manifest-path=pyo3-derive-backend/Cargo.toml