mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-24 00:58:29 +00:00
ci: fix timezone for python mariadb tests (#54464)
(cherry picked from commit 0d2da6d86c)
Co-authored-by: diptanilsaha <diptanil@frappe.io>
This commit is contained in:
2
.github/workflows/server-tests-mariadb.yml
vendored
2
.github/workflows/server-tests-mariadb.yml
vendored
@@ -41,6 +41,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
TZ: 'Asia/Kolkata'
|
||||
NODE_ENV: "production"
|
||||
WITH_COVERAGE: ${{ github.event_name != 'pull_request' }}
|
||||
|
||||
@@ -56,6 +57,7 @@ jobs:
|
||||
mysql:
|
||||
image: mariadb:10.6
|
||||
env:
|
||||
TZ: 'Asia/Kolkata'
|
||||
MARIADB_ROOT_PASSWORD: 'root'
|
||||
ports:
|
||||
- 3306:3306
|
||||
|
||||
@@ -151,6 +151,7 @@ class BootStrapTestData:
|
||||
frappe.db.commit() # nosemgrep
|
||||
|
||||
def make_master_data(self):
|
||||
self.update_system_settings()
|
||||
self.make_fiscal_year()
|
||||
self.make_holiday_list()
|
||||
self.make_company()
|
||||
@@ -203,7 +204,6 @@ class BootStrapTestData:
|
||||
self.update_support_settings()
|
||||
self.update_selling_settings()
|
||||
self.update_stock_settings()
|
||||
self.update_system_settings()
|
||||
|
||||
frappe.db.commit() # nosemgrep
|
||||
|
||||
|
||||
Reference in New Issue
Block a user