ci: update install script and patch workflow to accomodate payments app

This commit is contained in:
phot0n
2022-07-25 10:56:04 +05:30
parent 8004550444
commit 76493e928f
2 changed files with 4 additions and 1 deletions

View File

@@ -105,7 +105,6 @@ jobs:
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 @@ jobs:
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 @@ jobs:
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