Skip to content

Commit c23ba78

Browse files
committed
add docs test
1 parent c9eb32e commit c23ba78

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,17 @@ jobs:
6767
- name: Run base tests
6868
run: nose2 -v
6969

70+
- name: Check CLI docs are up to date
71+
run: |
72+
python docs/update_cli_docs.py
73+
if git diff --quiet docs/docs/cli/; then
74+
echo "✓ CLI docs are up to date"
75+
else
76+
echo "✗ CLI docs are out of date. Run: python docs/update_cli_docs.py"
77+
git diff docs/docs/cli/
78+
exit 1
79+
fi
80+
7081
# - name: Run migrations tests
7182
# shell: bash
7283
# run: ./test/test_pum.sh

0 commit comments

Comments
 (0)