Skip to content

Commit 787b693

Browse files
authored
Merge pull request #289 from orionrobots/copilot/fix-286
Filter Docker build output from BDD test workflow summary
2 parents c941ada + 41886e2 commit 787b693

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/on_call_staging_test.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ jobs:
5858
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
5959
docker compose -f docker-compose.yml -f docker-compose.ci.yml run test 2>&1 | tee bdd_output.txt
6060
bdd_result=$?
61-
cat bdd_output.txt >> $GITHUB_STEP_SUMMARY
61+
62+
# Filter output to show only BDD test results, excluding Docker build output
63+
# Look for lines starting with "> orionrobots.github.io@" and capture everything after that
64+
awk '
65+
/^> orionrobots\.github\.io@/ { found=1 }
66+
found { print }
67+
' bdd_output.txt >> $GITHUB_STEP_SUMMARY
6268
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
6369
6470
if [ $bdd_result -eq 0 ]; then

0 commit comments

Comments
 (0)