diff --git a/.github/helper/install.sh b/.github/helper/install.sh index 3ef7db34f6..41fdead675 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -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 diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 09b2a3caf8..ecc77f491d 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -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 \ No newline at end of file