Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Add summary output for agent tasks evaluation in CI workflow

Magnus Müller8d9b24b03a55
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 6900f2022..1e319ae91 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -125,3 +125,12 @@ jobs:
- name: Print agent evaluation summary
run: |
echo "Agent tasks passed: $PASSED / $TOTAL"
+
+ - name: Write agent evaluation summary to workflow overview
+ run: |
+ if [ "$PASSED" = "$TOTAL" ]; then
+ COLOR="green"
+ else
+ COLOR="yellow"
+ fi
+ echo "<h2>Agent Tasks Score: <span style='color:$COLOR;'>$PASSED/$TOTAL</span></h2>" >> $GITHUB_STEP_SUMMARY