mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
Merge pull request #51725 from mihir-kandoi/ci-patch-test-develop-2
This commit is contained in:
7
.github/workflows/patch.yml
vendored
7
.github/workflows/patch.yml
vendored
@@ -11,7 +11,6 @@ on:
|
|||||||
- 'crowdin.yml'
|
- 'crowdin.yml'
|
||||||
- '.coderabbit.yml'
|
- '.coderabbit.yml'
|
||||||
- '.mergify.yml'
|
- '.mergify.yml'
|
||||||
- '.github/**'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -114,8 +113,8 @@ jobs:
|
|||||||
jq 'del(.install_apps)' ~/frappe-bench/sites/test_site/site_config.json > tmp.json
|
jq 'del(.install_apps)' ~/frappe-bench/sites/test_site/site_config.json > tmp.json
|
||||||
mv tmp.json ~/frappe-bench/sites/test_site/site_config.json
|
mv tmp.json ~/frappe-bench/sites/test_site/site_config.json
|
||||||
|
|
||||||
wget https://erpnext.com/files/v13-erpnext.sql.gz
|
wget https://frappe.io/files/erpnext-v14.sql.gz
|
||||||
bench --site test_site --force restore ~/frappe-bench/v13-erpnext.sql.gz
|
bench --site test_site --force restore ~/frappe-bench/erpnext-v14.sql.gz
|
||||||
|
|
||||||
git -C "apps/frappe" remote set-url upstream https://github.com/frappe/frappe.git
|
git -C "apps/frappe" remote set-url upstream https://github.com/frappe/frappe.git
|
||||||
git -C "apps/erpnext" remote set-url upstream https://github.com/frappe/erpnext.git
|
git -C "apps/erpnext" remote set-url upstream https://github.com/frappe/erpnext.git
|
||||||
@@ -143,8 +142,8 @@ jobs:
|
|||||||
bench --site test_site migrate
|
bench --site test_site migrate
|
||||||
}
|
}
|
||||||
|
|
||||||
update_to_version 14 3.11
|
|
||||||
update_to_version 15 3.13
|
update_to_version 15 3.13
|
||||||
|
update_to_version 16 3.14
|
||||||
|
|
||||||
echo "Updating to latest version"
|
echo "Updating to latest version"
|
||||||
git -C "apps/frappe" fetch --depth 1 upstream "${GITHUB_BASE_REF:-${GITHUB_REF##*/}}"
|
git -C "apps/frappe" fetch --depth 1 upstream "${GITHUB_BASE_REF:-${GITHUB_REF##*/}}"
|
||||||
|
|||||||
1
.github/workflows/server-tests-mariadb.yml
vendored
1
.github/workflows/server-tests-mariadb.yml
vendored
@@ -13,7 +13,6 @@ on:
|
|||||||
- 'crowdin.yml'
|
- 'crowdin.yml'
|
||||||
- '.coderabbit.yml'
|
- '.coderabbit.yml'
|
||||||
- '.mergify.yml'
|
- '.mergify.yml'
|
||||||
- '.github/**'
|
|
||||||
schedule:
|
schedule:
|
||||||
# Run everday at midnight UTC / 5:30 IST
|
# Run everday at midnight UTC / 5:30 IST
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
|
|||||||
Reference in New Issue
Block a user