Commit graph

165 commits

Author SHA1 Message Date
mergify[bot]
dede680ceb
Merge pull request #13567 from alyf-de/bench_version_branch_commit
feat: print branch and commit on `bench version`
2021-07-02 08:24:55 +00:00
Ankush
d58d2ac77f
ci(cypress): use env variable for key (#13616)
documentation ref: https://docs.cypress.io/guides/guides/command-line#cypress-run
2021-06-30 23:05:05 +05:30
barredterra
f8ec3d711c feat: print branch and commit on bench version 2021-06-24 18:43:12 +02:00
Suraj Shetty
eba4c24503
Merge branch 'develop' into refactor-website 2021-06-04 11:15:12 +05:30
Gavin D'souza
a3b68cbc2e chore(cov): Drop duplicate pattern in omit list 2021-06-03 21:46:39 +05:30
Gavin D'souza
9b164571c3 fix: Update coverage omit files
Apply 0d8aeba3ee for parrallel test runner
2021-06-03 20:51:28 +05:30
Gavin D'souza
0d8aeba3ee fix: Update coverage omit files
Files that don't end with .py or .pyo ot .pyc are automatically
skipped by coveragepy. Updated omit list accordingly to remove non
python importable files.

ref: https://coverage.readthedocs.io/en/coverage-5.5/source.html#execution
2021-06-03 18:59:00 +05:30
Suraj Shetty
2d8c6c1710 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-06-03 11:43:28 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Suraj Shetty
e6d701b038 refactor: Use clear_website_cache instead of clear_cache 2021-05-25 15:02:18 +05:30
Suraj Shetty
86897c1808 refactor: Remove render.py and move all utility functions to utils.py
- Replace or remove all render imports
2021-05-25 10:53:35 +05:30
Gavin D'souza
33ba6494f8 Merge branch 'develop' into deprecation-warnings 2021-05-19 13:18:13 +05:30
Gavin D'souza
2dde3a9b01 fix: Hide all warnings in frappe commands
Hide all warnings when triggered via frappe.utils.bench_helper
2021-05-19 12:47:57 +05:30
Faris Ansari
f8ca990a83 Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-16 11:26:43 +05:30
Gavin D'souza
e0be2cc535 Merge branch 'develop' into misc-fixes-py3-1 2021-05-12 21:02:26 +05:30
Gavin D'souza
098f1564f3 refactor: bench build
* Deprecate --make-copy and --restore options for build in favour of --hard-link
* Show feedback for linking/copying application assets
2021-05-11 21:15:20 +05:30
Gavin D'souza
e18f080453 chore: Hide all warnings in bench console 2021-05-11 15:25:41 +05:30
Suraj Shetty
e1fec81ae3 feat: Add option to run parallel test with orchestrator 2021-05-09 11:27:58 +05:30
Suraj Shetty
76348b892f refactor: Move parallel test runner code to a separate file 2021-05-09 09:32:28 +05:30
Suraj Shetty
85f6f47edc Merge branch 'develop' of https://github.com/frappe/frappe into python-distributed-testing 2021-05-08 11:27:42 +05:30
Suraj Shetty
2c54549677 feat: Make parallel test independent of test orchestrator 2021-05-07 21:58:43 +05:30
Faris Ansari
add84065ad Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-07 12:55:04 +05:30
Gavin D'souza
bf9fcb3ff6 chore(cli): Add pending deprecation warning
* Add PDW for --as-dict in command set-config
* Move all top level imports inside each util to optimize imports for
  CLI
* Set always show filter for DeprecationWarning, PendingDeprecationWarning via frappe module
2021-05-05 15:33:44 +05:30
Gavin D'souza
8cd6b520ed refactor(minor): Bench set-config
* Replace --as-dict with a more apt --parse
* Fixed styling
* Renamed variables
2021-05-05 13:37:09 +05:30
Gavin D'souza
73ff84da8e chore: Drop redundant command auto-deploy 2021-05-04 18:10:31 +05:30
Gavin D'souza
3c1b6c66d9 fix(bench-console): Show only apps in namespace 2021-05-04 18:09:53 +05:30
Gavin D'souza
bcbc0d0a7c fix: Show complete frappe.conf including common conf 2021-05-04 18:08:21 +05:30
Faris Ansari
6347d3e6f1 Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-04 07:13:30 +05:30
Gavin D'souza
991965fe6b fix: Format JSON outputs better 2021-05-03 19:48:50 +05:30
Gavin D'souza
95db79a1d0 feat(cli): Format option in bench show-config 2021-05-03 19:33:50 +05:30
Gavin D'souza
bb25caa97f refactor: bench show-config
* Handle no site being specified. Fixes https://github.com/frappe/frappe/issues/13100
* Remove tabbed output in favour of table
* Add multi site support
2021-05-03 19:15:13 +05:30
Suraj Shetty
cf0e15e264 feat: Enable cypress parallel testing 2021-05-02 21:03:09 +05:30
Suraj Shetty
7ac3b53c1c feat: Add support for build combined coverage file
- from parallel tests
- Update workflow files
2021-05-02 21:01:47 +05:30
Faris Ansari
9f4edaedbb fix: bench build command
- Add --apps option
- Add --production option
- Add --apps option for bench watch command
- Add --skip_frappe in esbuild
2021-05-02 15:13:41 +05:30
Suraj Shetty
249fa6d21b feat: Add run-parallel-tests command
- Tests will be distributed across different build machines
(dependent on test orchestrator)
- PrettyPrint for test results
2021-05-02 14:28:16 +05:30
Mohammad Hasnain Mohsin Rajan
1de1d87b79
test: omit commands directory since it is tested seperately (#13035)
* test: omit commands directory

* tests: use frappe namespace

* test: better wildcard matching

* style: Add whitespace

Co-authored-by: gavin <gavin18d@gmail.com>
2021-04-29 10:05:05 +00:00
Sagar Vora
c8763859ae test: multiple cypress fixes 2021-04-18 13:22:43 +05:30
Sagar Vora
6ed9567b8c
fix: remove unused paramter (#12575) 2021-03-13 00:14:12 +05:30
Rohan Bansal
e675043e9d Merge remote-tracking branch 'upstream/develop' into dev-import-file-error 2021-03-09 15:21:45 +05:30
Suraj Shetty
8962ba0647 fix: Temporarily use firefox for testing
- https://travis-ci.com/github/frappe/frappe/jobs/488819006 testing is failing due to some incompatibility
2021-03-07 19:14:31 +05:30
Rohan Bansal
7b4e75e15d fix: error while using data import and importing docs 2021-02-22 17:15:49 +05:30
Suraj Shetty
39d0e72f94 chore: Update Cypress 3 to 6 & fix test cases 2021-01-31 21:54:59 +05:30
Suraj Shetty
f8b1bbaadc revert: "chore: Update cypres project & record ID"
This reverts commit 4148fbfad5.
2021-01-31 18:30:53 +05:30
Suraj Shetty
4148fbfad5 chore: Update cypres project & record ID 2021-01-31 17:30:29 +05:30
gavin
81df6fc92a
fix: Open console even if Frappe imports failed (#11832)
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2020-11-02 16:42:12 +05:30
Gavin D'souza
5cf1568248 fix: Don't make lockfile changes
* Adding --no-save still updates the package.json. Unsure what to do
next.
2020-10-13 16:48:37 +05:30
Gavin D'souza
05feb9d42c fix: Don't remove cypress after installation 2020-10-13 15:58:27 +05:30
Gavin D'souza
40ee03c21d Merge branch 'develop' of github.com:frappe/frappe into move-cypress 2020-10-12 17:32:16 +05:30
mergify[bot]
31cb17f416
Merge pull request #11400 from gavindsouza/uninstall-app-for-non-existing-apps
fix: Uninstall App even if it doesn't exist on bench
2020-09-22 03:54:42 +00:00
gavin
f710ad095f
Merge pull request #11436 from gavindsouza/build-assets
feat: Ship built assets
2020-09-15 13:01:38 +05:30