mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
ci: remove payments app from tests
This commit is contained in:
parent
c4b2aadd0e
commit
8e9adf71fb
2 changed files with 1 additions and 7 deletions
|
|
@ -204,7 +204,7 @@ bench get-app --branch version-12 https://github.com/myusername/myapp
|
||||||
bench --site mysite.localhost install-app myapp
|
bench --site mysite.localhost install-app myapp
|
||||||
```
|
```
|
||||||
|
|
||||||
At the time of this writing, the Payments app has been factored out of the Version 14 ERPNext app and is now a separate app. ERPNext will not install without it, however, so we need to specify `--resolve-deps` command line switch to install it.
|
At the time of this writing, the Payments app has been factored out of the Version 14 ERPNext app and is now a separate app. ERPNext will not install it.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bench get-app --branch version-14 --resolve-deps erpnext
|
bench get-app --branch version-14 --resolve-deps erpnext
|
||||||
|
|
|
||||||
|
|
@ -89,12 +89,6 @@ def erpnext_site(compose: Compose):
|
||||||
"erpnext",
|
"erpnext",
|
||||||
site_name,
|
site_name,
|
||||||
]
|
]
|
||||||
erpnext_version = os.environ.get("ERPNEXT_VERSION")
|
|
||||||
if erpnext_version in [
|
|
||||||
"develop",
|
|
||||||
"version-14",
|
|
||||||
] or erpnext_version.startswith("v14"):
|
|
||||||
args.append("--install-app=payments")
|
|
||||||
compose.bench(*args)
|
compose.bench(*args)
|
||||||
compose("restart", "backend")
|
compose("restart", "backend")
|
||||||
yield site_name
|
yield site_name
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue