Merge pull request #56658 from frappe/mergify/bp/version-16-hotfix/pr-56655

ci: warmup test data along with DB (backport #56655)
This commit is contained in:
ruthra kumar
2026-06-30 20:37:34 +05:30
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -107,6 +107,13 @@ jobs:
SKIP_SYSTEM_SETUP: "1"
SKIP_WKHTMLTOX_SETUP: "1"
- name: Warm up test data
run: |
su -m "${ERPNEXT_CI_USER:-frappe}" -s /bin/bash <<'EOF'
cd ~/frappe-bench/
bench --site test_site run-tests --lightmode --module erpnext.tests.bootstrap_test_data
EOF
# Clean shutdown (consistent InnoDB datadir), then stage it inside the bench for packaging.
- name: Stop DB and stage datadir
run: |

View File

@@ -0,0 +1,3 @@
# This file is solely to trigger BootStrapTestData from CI
# utils.py module import instantiates BootStrapTestData
from erpnext.tests.utils import ERPNextTestSuite