Skip to content

Commit

Permalink
Test: try --locked when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Jan 31, 2024
1 parent 7ed3a24 commit 0cd6dbe
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions xtask/src/runchecks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,16 @@ fn burn_dataset_features_std() {
cargo_test(["-p", "burn-dataset", "--all-features"].into());

// Run cargo doc --all-features
cargo_doc(["-p", "burn-dataset", "--all-features", "--no-deps"].into());
cargo_doc(
[
"-p",
"burn-dataset",
"--all-features",
"--no-deps",
"--locked",
]
.into(),
);

endgroup!();
}
Expand Down Expand Up @@ -313,7 +322,7 @@ fn std_checks() {

// Produce documentation for each workspace
group!("Docs: workspaces");
cargo_doc(["--workspace", "--no-deps"].into());
cargo_doc(["--workspace", "--no-deps", "--locked"].into());
endgroup!();

// Setup code coverage
Expand Down

0 comments on commit 0cd6dbe

Please sign in to comment.