Skip to content

Commit b4c501d

Browse files
Peter Higginsclaude
andcommitted
Fix CI: update validation paths for new repo structure
Workflow now checks science/ and huf-gov/ instead of docs/. Added core science document verification and tools check. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b1f10bb commit b4c501d

1 file changed

Lines changed: 38 additions & 2 deletions

File tree

.github/workflows/validate.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
echo "=== HUF Document Inventory ==="
2323
count=0
24-
for docx in $(find docs -name '*.docx' -type f | sort); do
24+
for docx in $(find science huf-gov -name '*.docx' -type f 2>/dev/null | sort); do
2525
size=$(stat --format=%s "$docx")
2626
kb=$((size / 1024))
2727
echo " OK: $docx (${kb} KB)"
@@ -30,7 +30,43 @@ jobs:
3030
echo ""
3131
echo "Total: $count documents found"
3232
if [ $count -eq 0 ]; then
33-
echo "WARNING: No .docx files found in docs/"
33+
echo "WARNING: No .docx files found in science/ or huf-gov/"
3434
exit 1
3535
fi
3636
echo "All documents present."
37+
38+
- name: Verify core science documents
39+
run: |
40+
echo "=== Core Science Check ==="
41+
missing=0
42+
for doc in \
43+
"science/chemistry/EITT_Chemistry_Findings.docx" \
44+
"science/chemistry/HUF_Development_Index.docx" \
45+
"science/chemistry/PRISM_Chemistry_Analysis.docx"; do
46+
if [ -f "$doc" ]; then
47+
echo " OK: $doc"
48+
else
49+
echo " MISSING: $doc"
50+
missing=$((missing + 1))
51+
fi
52+
done
53+
if [ $missing -gt 0 ]; then
54+
echo "ERROR: $missing core document(s) missing"
55+
exit 1
56+
fi
57+
echo "All core science documents present."
58+
59+
- name: Verify tools
60+
run: |
61+
echo "=== Tools Check ==="
62+
for tool in \
63+
"tools/pipeline/chem_eitt_pipeline.py" \
64+
"tools/pipeline/huf_preparser.py" \
65+
"tools/diagnostics/validate.py"; do
66+
if [ -f "$tool" ]; then
67+
echo " OK: $tool"
68+
else
69+
echo " MISSING: $tool"
70+
fi
71+
done
72+
echo "Tools check complete."

0 commit comments

Comments
 (0)