aboutsummaryrefslogtreecommitdiff
path: root/dev_tools/src/bin/ci.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dev_tools/src/bin/ci.rs')
-rw-r--r--dev_tools/src/bin/ci.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev_tools/src/bin/ci.rs b/dev_tools/src/bin/ci.rs
index b7934e1..21763d1 100644
--- a/dev_tools/src/bin/ci.rs
+++ b/dev_tools/src/bin/ci.rs
@@ -73,6 +73,7 @@ fn ci() -> Result<(), i32> {
clippy_all()?;
test_all()?;
test_examples()?;
+ test_readme()?;
docs_refresh()?;
run_cmd!("git add --renormalize .")?;
@@ -85,6 +86,11 @@ fn test_examples() -> Result<(), i32> {
run_cmd!("cargo run --manifest-path dev_tools/Cargo.toml --bin test-examples")
}
+fn test_readme() -> Result<(), i32> {
+ println_cargo_style!("Testing: readme code blocks");
+ run_cmd!("cargo run --manifest-path dev_tools/Cargo.toml --bin test-readme")
+}
+
fn build_all() -> Result<(), i32> {
let cargo_tomls = cargo_tomls();
for cargo_toml in cargo_tomls {