Skip to content

Commit

Permalink
ci: fix installation in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal committed Jan 4, 2024
1 parent 9084185 commit cd7da49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/helper/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ sed -i 's/redis_socketio:/# redis_socketio:/g' Procfile

bench get-app payments --branch ${BRANCH_TO_CLONE%"-hotfix"}
bench get-app https://github.com/frappe/erpnext --branch "$BRANCH_TO_CLONE" --resolve-deps
bench get-app hrms "${GITHUB_WORKSPACE}"
bench setup requirements --dev

bench start &> bench_run_logs.txt &
bench start &>> ~/frappe-bench/bench_start.log &
CI=Yes bench build --app frappe &
bench --site test_site reinstall --yes

bench get-app hrms "${GITHUB_WORKSPACE}"
bench --site test_site install-app hrms
bench setup requirements --dev
bench --verbose --site test_site install-app hrms
2 changes: 0 additions & 2 deletions hrms/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def get_custom_fields():
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Employment Type",
"oldfieldname": "employment_type",
"oldfieldtype": "Link",
"options": "Employment Type",
"insert_after": "department",
},
Expand Down

0 comments on commit cd7da49

Please sign in to comment.