ci(ui-tests): Print 'bench start' log on failure
Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
parent
b867dedf15
commit
aa83965313
2 changed files with 5 additions and 1 deletions
2
.github/helper/install.sh
vendored
2
.github/helper/install.sh
vendored
|
|
@ -59,7 +59,7 @@ cd ./apps/frappe || exit
|
|||
yarn add node-sass@4.13.1
|
||||
cd ../..
|
||||
|
||||
bench start &
|
||||
bench start &> bench_start.log &
|
||||
bench --site test_site reinstall --yes
|
||||
if [ "$TYPE" == "server" ]; then bench --site test_site_producer reinstall --yes; fi
|
||||
if [ "$TYPE" == "server" ]; then CI=Yes bench build --app frappe; fi
|
||||
|
|
|
|||
4
.github/workflows/ui-tests.yml
vendored
4
.github/workflows/ui-tests.yml
vendored
|
|
@ -175,3 +175,7 @@ jobs:
|
|||
files: /home/runner/frappe-bench/sites/coverage.xml
|
||||
verbose: true
|
||||
flags: server
|
||||
|
||||
- name: Show bench console if tests failed
|
||||
if: ${{ failure() }}
|
||||
run: cat ~/frappe-bench/bench_start.log
|
||||
Loading…
Add table
Reference in a new issue