style: replace emoji with [OK] in workflow summary; cargo fmt integration tests

This commit is contained in:
Joseph O'Brien
2026-04-03 19:07:47 -04:00
parent 4a010559d2
commit 3f529e9ed5
2 changed files with 36 additions and 8 deletions

View File

@@ -108,9 +108,9 @@ jobs:
- name: Public readiness summary - name: Public readiness summary
if: success() if: success()
run: | run: |
echo " No secrets or PII detected" echo "[OK] No secrets or PII detected"
echo " No hardcoded private addresses" echo "[OK] No hardcoded private addresses"
echo " Licenses are OSS-compatible" echo "[OK] Licenses are OSS-compatible"
echo " No secrets files tracked in git" echo "[OK] No secrets files tracked in git"
echo "" echo ""
echo "This repository appears safe to mirror to a public GitHub repo." echo "This repository appears safe to mirror to a public GitHub repo."

View File

@@ -71,7 +71,14 @@ fn write_all_creates_expected_files() {
let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let stats = analysis::analyse(&crate_graph, &module_graphs, 3);
let symbol_tables: Vec<types::SymbolTable> = vec![]; let symbol_tables: Vec<types::SymbolTable> = vec![];
emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); emit::write_all(
out.path(),
&crate_graph,
&module_graphs,
&stats,
&symbol_tables,
)
.unwrap();
assert!( assert!(
out.path().join("report.html").exists(), out.path().join("report.html").exists(),
@@ -99,7 +106,14 @@ fn write_all_sanitizes_hyphenated_crate_names() {
let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let stats = analysis::analyse(&crate_graph, &module_graphs, 3);
let symbol_tables: Vec<types::SymbolTable> = vec![]; let symbol_tables: Vec<types::SymbolTable> = vec![];
emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); emit::write_all(
out.path(),
&crate_graph,
&module_graphs,
&stats,
&symbol_tables,
)
.unwrap();
let html = std::fs::read_to_string(out.path().join("report.html")).unwrap(); let html = std::fs::read_to_string(out.path().join("report.html")).unwrap();
// Raw hyphenated names must not appear as unquoted node IDs // Raw hyphenated names must not appear as unquoted node IDs
@@ -128,7 +142,14 @@ fn write_all_heatmap_does_not_panic_for_single_crate() {
let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let stats = analysis::analyse(&crate_graph, &module_graphs, 3);
let symbol_tables: Vec<types::SymbolTable> = vec![]; let symbol_tables: Vec<types::SymbolTable> = vec![];
emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); emit::write_all(
out.path(),
&crate_graph,
&module_graphs,
&stats,
&symbol_tables,
)
.unwrap();
let html = std::fs::read_to_string(out.path().join("report.html")).unwrap(); let html = std::fs::read_to_string(out.path().join("report.html")).unwrap();
assert!( assert!(
@@ -184,7 +205,14 @@ fn write_all_cycle_callout_appears_in_html() {
let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let stats = analysis::analyse(&crate_graph, &module_graphs, 3);
let symbol_tables: Vec<types::SymbolTable> = vec![]; let symbol_tables: Vec<types::SymbolTable> = vec![];
emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); emit::write_all(
out.path(),
&crate_graph,
&module_graphs,
&stats,
&symbol_tables,
)
.unwrap();
let html = std::fs::read_to_string(out.path().join("report.html")).unwrap(); let html = std::fs::read_to_string(out.path().join("report.html")).unwrap();
assert!( assert!(