Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
8d3f979b
Unverified
Commit
8d3f979b
authored
Jul 09, 2024
by
Chenlei Hu
Committed by
GitHub
Jul 09, 2024
Browse files
Check unhandled exception in test log in test action (#3987)
* Upload console logs * Check unhandled exception
parent
83f70a88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
.github/workflows/test-browser.yml
.github/workflows/test-browser.yml
+14
-1
No files found.
.github/workflows/test-browser.yml
View file @
8d3f979b
...
@@ -42,7 +42,7 @@ jobs:
...
@@ -42,7 +42,7 @@ jobs:
working-directory
:
ComfyUI
working-directory
:
ComfyUI
-
name
:
Start ComfyUI server
-
name
:
Start ComfyUI server
run
:
|
run
:
|
python main.py --cpu &
python main.py --cpu
2>&1 | tee console_output.log
&
wait-for-it --service 127.0.0.1:8188 -t 600
wait-for-it --service 127.0.0.1:8188 -t 600
working-directory
:
ComfyUI
working-directory
:
ComfyUI
-
name
:
Install ComfyUI_frontend dependencies
-
name
:
Install ComfyUI_frontend dependencies
...
@@ -55,9 +55,22 @@ jobs:
...
@@ -55,9 +55,22 @@ jobs:
-
name
:
Run Playwright tests
-
name
:
Run Playwright tests
run
:
npx playwright test
run
:
npx playwright test
working-directory
:
ComfyUI_frontend
working-directory
:
ComfyUI_frontend
-
name
:
Check for unhandled exceptions in server log
run
:
|
if grep -qE "Exception|Error" console_output.log; then
echo "Unhandled exception/error found in server log."
exit 1
fi
working-directory
:
ComfyUI
-
uses
:
actions/upload-artifact@v4
-
uses
:
actions/upload-artifact@v4
if
:
always()
if
:
always()
with
:
with
:
name
:
playwright-report
name
:
playwright-report
path
:
ComfyUI_frontend/playwright-report/
path
:
ComfyUI_frontend/playwright-report/
retention-days
:
30
retention-days
:
30
-
uses
:
actions/upload-artifact@v4
if
:
always()
with
:
name
:
console-output
path
:
ComfyUI/console_output.log
retention-days
:
30
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment