Remove docs job from CI workflow

This commit is contained in:
messense 2021-05-05 16:35:18 +08:00
parent 3402e72427
commit 8a89d04ee9

View file

@ -173,24 +173,6 @@ jobs:
# Once cargo's `resolver = "2"` is stable (~ MSRV Rust 1.52), remove this.
PYO3_CI: 1
docs:
name: docs
needs: [fmt]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
- name: "Build docs with docsrs flag"
run: cargo doc --no-deps --no-default-features --features "macros num-bigint num-complex hashbrown serde multiple-pymethods"
env:
# docsrs gates doc_cfg and doc_alias functionality
RUSTDOCFLAGS: --cfg docsrs
coverage:
needs: [fmt]
runs-on: ubuntu-latest