File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 6868 - name : Run Playwright MCP tests
6969 id : run-tests
7070 run : |
71+ set +e
7172 sudo -E npm run test:integration -- playwright-mcp.test.ts 2>&1 | tee test-output.log
73+ echo "exit_code=$?" >> $GITHUB_OUTPUT
7274 continue-on-error : true
7375
7476 - name : Clean npm cache
8385 npx tsx scripts/ci/generate-test-summary.ts "playwright-mcp.test.ts" "Playwright MCP Tests" test-output.log
8486
8587 - name : Check test results
86- if : steps.run-tests.outcome == 'failure'
87- run : exit 1
88+ if : always()
89+ run : |
90+ if [ "${{ steps.run-tests.outputs.exit_code }}" != "0" ]; then
91+ echo "Tests failed with exit code ${{ steps.run-tests.outputs.exit_code }}"
92+ exit 1
93+ fi
8894
8995 - name : Post-test cleanup
9096 if : always()
You can’t perform that action at this time.
0 commit comments