ci(test): fail loadtest correctly
Previously this would only fail if *each* row had `:x:` in it, which was
never the case, because the header never has it. It is supposed to fail
when *at least one* row has an ❌.
This commit is contained in:
@@ -162,9 +162,9 @@ jobs:
|
|||||||
# The loadtest reporter writes them when any of individual steps fails the performance
|
# The loadtest reporter writes them when any of individual steps fails the performance
|
||||||
# regression threshold.
|
# regression threshold.
|
||||||
run: |
|
run: |
|
||||||
postgrest-loadtest-report -g ${{ matrix.kind }} -p 50 \
|
! (postgrest-loadtest-report -g ${{ matrix.kind }} -p 50 \
|
||||||
| tee "$GITHUB_STEP_SUMMARY" \
|
| tee "$GITHUB_STEP_SUMMARY" \
|
||||||
| grep -v ':x:'
|
| grep ':x:')
|
||||||
|
|
||||||
- name: Report P0
|
- name: Report P0
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user