mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 05:43:26 +00:00
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:
2
.github/workflows/readme.yml
vendored
2
.github/workflows/readme.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user