CI: fail sync test if there are errors in log
This commit is contained in:
6
scripts/workflows/test-sync-check.sh
Executable file
6
scripts/workflows/test-sync-check.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
grep 'ERROR ' p2pool.log | grep -E -v 'submit_block|failed to bind' > errors.log
|
||||
|
||||
if [ -s errors.log ]; then
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user