Add github actions action

This commit is contained in:
Matthias
2019-11-05 15:33:48 +01:00
parent 3f65c31883
commit ff1d36434d
4 changed files with 195 additions and 10 deletions

12
tests/test_docs.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Test Documentation boxes -
# !!! <TYPE>: is not allowed!
# !!! <TYPE> "title" - Title needs to be quoted!
grep -Er '^!{3}\s\S+:|^!{3}\s\S+\s[^"]' docs/*
if [ $? -ne 0 ]; then
echo "Docs test success."
exit 0
fi
echo "Docs test failed."
exit 1