ci: Activate all features when building docs
Currently, `cargo doc` fails on warnings for missing links to `qcheck` and `radicle_git_ref_format`. This will enable the required features to compile those modules in.
This commit is contained in:
parent
32d77641ab
commit
7ccdd4c810
|
|
@ -18,7 +18,7 @@ plan:
|
||||||
export PATH="/root/.cargo/bin:$PATH"
|
export PATH="/root/.cargo/bin:$PATH"
|
||||||
export RUSTDOCFLAGS='-D warnings'
|
export RUSTDOCFLAGS='-D warnings'
|
||||||
|
|
||||||
cargo doc --workspace --no-deps
|
cargo doc --workspace --no-deps --all-features
|
||||||
|
|
||||||
# Prepare source tree for building a Debian package.
|
# Prepare source tree for building a Debian package.
|
||||||
- action: shell
|
- action: shell
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,5 @@ shell: |
|
||||||
cargo fmt --check
|
cargo fmt --check
|
||||||
cargo clippy --all-targets --workspace -- --deny warnings
|
cargo clippy --all-targets --workspace -- --deny warnings
|
||||||
cargo build --all-targets --workspace
|
cargo build --all-targets --workspace
|
||||||
cargo doc --workspace --no-deps
|
cargo doc --workspace --no-deps --all-features
|
||||||
cargo test --workspace --no-fail-fast
|
cargo test --workspace --no-fail-fast
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue