Skip to content

Commit

Permalink
trim execution specs report report to avoid OOM kills
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jan 13, 2025
1 parent 5d76749 commit 6b60fb7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions playbooks/dev/execution-spec-tests-execute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,8 @@ tasks:
echo "============================"
echo "Exporting reports"
echo "============================"
REPORT_JSON=$(cat report.json)
REPORT_HTML=$(jq -Rs '.' report.html)
echo "::set-output reportHTML ${REPORT_HTML}"
REPORT_JSON=$(cat report.json | jq -c '[.tests[] | {"nodeid": .nodeid, "outcome": .outcome, "setupDuration": .setup.duration, "callDuration": .call.duration, "teardownDuration": .teardown.duration}]')
echo "::set-output-json reportJSON ${REPORT_JSON}"
exit 0
Expand Down

0 comments on commit 6b60fb7

Please sign in to comment.