Skip to content

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

Test fails if 0%

Magnus Müller723c68c20c0f
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index b4be461fb..1d8a1f6ac 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -172,6 +172,11 @@ jobs:
const score = `${passed}/${total}`;
const percentage = Math.round((passed / total) * 100);
+ // Fail the workflow if 0% pass rate
+ if (percentage === 0) {
+ core.setFailed(`Evaluation failed: 0% pass rate (${passed}/${total})`);
+ }
+
// Create detailed table
let tableRows = '';
detailedResults.forEach(result => {