mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
Fail the workflow on webview test errors (#3275)
* do not exit with status code 0 if tests fail * fix broken tests * use a data-testid to find the button * Fix API options test
This commit is contained in:
@@ -92,7 +92,7 @@ jobs:
|
||||
cd webview-ui
|
||||
# Ensure coverage dependency is installed
|
||||
npm install --no-save @vitest/coverage-v8
|
||||
npm run test:coverage > webview_coverage.txt 2>&1 || true
|
||||
npm run test:coverage > webview_coverage.txt 2>&1
|
||||
cd ..
|
||||
PYTHONPATH=.github/scripts python -m coverage_check extract-coverage webview-ui/webview_coverage.txt --type=webview --github-output --verbose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user