Skip to content

Commit

Permalink
fix(code-coverage): Fix awk syntax error - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Feb 7, 2024
1 parent 937af13 commit 69b8aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
## --------------------------------------------------------------------
log=$(find ./logs-docs/ -name 'postgres*.log')
awk '/ERROR:|STATEMENT:/{flag=1;next}/LOG:|^[^ ]|^ $/{flag=0}flag {print $0}' $log
awk '/(ERROR:|STATEMENT:)/{flag=1}/LOG:|^ [A-Z]/{flag=0}flag {print $0}' $log
# Throw errors on ERRORs
grep -qv "ERROR" $log || { echo "PostgreSQL backend threw ERRORs"; exit 1; }
Expand Down

0 comments on commit 69b8aad

Please sign in to comment.