ci: restart bench in patch test
also show bench output
This commit is contained in:
parent
8485ac5d62
commit
699e744617
3 changed files with 11 additions and 1 deletions
2
.github/helper/install.sh
vendored
2
.github/helper/install.sh
vendored
|
|
@ -54,7 +54,7 @@ fi
|
|||
|
||||
echo "Starting Bench..."
|
||||
|
||||
bench start &> bench_start.log &
|
||||
bench start &> ~/frappe-bench/bench_start.log &
|
||||
|
||||
if [ "$TYPE" == "server" ]
|
||||
then
|
||||
|
|
|
|||
6
.github/workflows/patch-mariadb-tests.yml
vendored
6
.github/workflows/patch-mariadb-tests.yml
vendored
|
|
@ -126,8 +126,10 @@ jobs:
|
|||
git checkout -q -f $branch_name
|
||||
pip install -U frappe-bench
|
||||
|
||||
pgrep honcho | xargs kill
|
||||
rm -rf ~/frappe-bench/env
|
||||
bench -v setup env
|
||||
bench start &> ~/frappe-bench/bench_start.log &
|
||||
bench --site test_site migrate
|
||||
}
|
||||
|
||||
|
|
@ -143,3 +145,7 @@ jobs:
|
|||
rm -rf ~/frappe-bench/env
|
||||
bench -v setup env
|
||||
bench --site test_site migrate
|
||||
|
||||
- name: Show bench output
|
||||
if: ${{ always() }}
|
||||
run: cat ~/frappe-bench/bench_start.log || true
|
||||
|
|
|
|||
4
.github/workflows/server-tests.yml
vendored
4
.github/workflows/server-tests.yml
vendored
|
|
@ -136,6 +136,10 @@ jobs:
|
|||
BUILD_NUMBER: ${{ matrix.container }}
|
||||
TOTAL_BUILDS: 2
|
||||
|
||||
- name: Show bench output
|
||||
if: ${{ always() }}
|
||||
run: cat ~/frappe-bench/bench_start.log || true
|
||||
|
||||
- name: Upload coverage data
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue