README test: Also check role readme files

The test is now also checking that role README files are mentioned in
the main README.
This commit is contained in:
Thomas Woerner
2022-01-19 13:28:03 +01:00
parent 04a8299be6
commit 48b0a13a54

View File

@@ -12,5 +12,5 @@ jobs:
- name: Run readme test
run: |
error=0
for i in README-*.md; do grep -q $i README.md && echo "OK: $i" || { echo -e "\033[31;1mERROR: ${i} missing\033[0m"; error=1; } done
for i in roles/ipa*/README.md README-*.md; do grep -q $i README.md && echo "OK: $i" || { echo -e "\033[31;1mERROR: ${i} missing\033[0m"; error=1; } done
exit $error