ci: update install script and patch workflow to accomodate payments app
diff --git a/.github/helper/install.sh b/.github/helper/install.sh
index f0f83b0..a62df32 100644
--- a/.github/helper/install.sh
+++ b/.github/helper/install.sh
@@ -63,6 +63,7 @@
sed -i 's/socketio:/# socketio:/g' Procfile
sed -i 's/redis_socketio:/# redis_socketio:/g' Procfile
+bench get-app payments
bench get-app erpnext "${GITHUB_WORKSPACE}"
if [ "$TYPE" == "server" ]; then bench setup requirements --dev; fi
diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml
index a71db72..eedb4b4 100644
--- a/.github/workflows/patch.yml
+++ b/.github/workflows/patch.yml
@@ -105,7 +105,6 @@
echo "Updating to v$version"
branch_name="version-$version-hotfix"
-
git -C "apps/frappe" fetch --depth 1 upstream $branch_name:$branch_name
git -C "apps/erpnext" fetch --depth 1 upstream $branch_name:$branch_name
@@ -114,6 +113,7 @@
rm -rf ~/frappe-bench/env
bench setup env
+ bench pip install -e ./apps/payments
bench pip install -e ./apps/erpnext
bench --site test_site migrate
@@ -127,6 +127,8 @@
pyenv global $(pyenv versions | grep '3.10')
rm -rf ~/frappe-bench/env
bench -v setup env
+ bench pip install -e ./apps/payments
bench pip install -e ./apps/erpnext
bench --site test_site migrate
+ bench --site test_site install-app payments