Skip to content

Commit

Permalink
Enable all features when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Mar 1, 2024
1 parent 4556c1d commit 513afc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validation-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ jobs:
- uses: Swatinem/rust-cache@v2
# test docs for everything
- name: Test build all docs
run: cargo doc --no-deps
run: cargo doc --no-deps --all-features
# create docs for the crates we care about
- name: Build docs for publish
run: |
rm -rf target/doc/
cargo doc --manifest-path rust/mariadb/Cargo.toml --no-deps
cargo doc --manifest-path rust/mariadb-sys/Cargo.toml --no-deps
cargo doc --manifest-path rust/mariadb/Cargo.toml --no-deps --all-features
cargo doc --manifest-path rust/mariadb-sys/Cargo.toml --no-deps --all-features
- run: |
echo "$(pwd)/target/doc" >> "$GITHUB_PATH"
# fake index.html so github likes us
Expand Down

0 comments on commit 513afc0

Please sign in to comment.