Skip to content

Commit

Permalink
Add twine check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 8, 2022
1 parent f237c38 commit de75834
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
python-version: "3.10.0"
- name: Install cffi and virtualenv
run: pip install cffi virtualenv ziglang~=0.9.0
run: pip install cffi virtualenv ziglang~=0.9.0 twine
- uses: actions-rs/toolchain@v1
id: rustup
with:
Expand Down Expand Up @@ -103,6 +103,8 @@ jobs:
cargo run -- build --no-sdist -i python -m test-crates/pyo3-pure/Cargo.toml --target aarch64-unknown-linux-gnu --zig
cargo run -- build --no-sdist -i python -m test-crates/pyo3-pure/Cargo.toml --target aarch64-unknown-linux-musl --zig
cargo run -- build --no-sdist -i python -m test-crates/pyo3-pure/Cargo.toml --target aarch64-apple-darwin --zig
# Check wheels with twine
twine check --strict test-crates/pyo3-pure/target/wheels/*.whl
test-alpine:
name: Test Alpine Linux
Expand Down

0 comments on commit de75834

Please sign in to comment.