We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9a235 commit 8723294Copy full SHA for 8723294
.github/workflows/ci.yml
@@ -49,6 +49,14 @@ jobs:
49
run: sudo apachectl configtest
50
- name: start apache with module
51
run: sudo systemctl restart apache2.service
52
+ - name: Search for errors/warnings in error log
53
+ run: |
54
+ errors="$(grep -E ":(?error|warn)[]]" /var/log/apache2/error.log)"
55
+ if [ -n "${errors}" ]; then
56
+ echo "Found errors/warnings in error.log"
57
+ echo "${errors}"
58
+ exit 1
59
+ fi
60
- name: Show httpd error log
61
if: always()
62
run: sudo cat /var/log/apache2/error.log
0 commit comments