Ankush Menat
cc1baae5eb
ci: move semgrep rules out of repo ( #28067 )
Moving semgrep rules out of repos as it's unnecessary to maintain
same ruleset for different repos and different branches.
3 years ago
Ankush Menat
92c0dcc3ea
ci: install dev requirements in CI
3 years ago
gavin
9916b87767
ci: Rule Added for using frappe.qb over db.sql* ( #28000 )
ERPNext port of https://github.com/frappe/frappe/pull/14481
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
Co-authored-by: abhishek <as7122000@gmail.com>
3 years ago
Ankush Menat
06b426e9c3
ci: rule to fail PRs that add a new manual commit ( #27928 )
Manual commits are frequent source of bugs, confusions or undefined
behaviour.
All new manual commits should be explcitly ignored with explanation on
why it's added. This will only fail for new additions. Existing ones
need to be cleaned up manually.
3 years ago
ChillarAnand
4dc17a856e
fix(CI): Use bugbear instead of flake8-mutable
3 years ago
Chillar Anand
772d4753e7
refactor: Clean up mutable defaults and add CI check ( #27828 )
* refactor: Clean up mutable defaults and add CI check
3 years ago
Dany Robert
fa819f2fb0
fix: General Ledger translation issues ( #27298 )
* fix: remove translations from GL report options
Options need not be translated, their display label gets translated
client side.
* fix: make group by options translatable
* ci: semgrep rule for translated options in report
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
3 years ago
Ankush Menat
5596988c94
ci: fix docs checker for wiki based docs ( #27380 )
3 years ago
Chillar Anand
915b34391c
chore: Clean up imports ( #27302 )
* chore: Added isort to pre-commit config
* chore: Sort imports with isort
* chore: Clean up imports with pycln
* chore: Sort imports with isort
* chore: Fix import issues
* chore: Clean up sider issues
* chore: Remove import errors from flake8 ignore list
* chore: Clean up lint issues
3 years ago
Ankush Menat
65279c2471
ci: add strict config for flake8
3 years ago
Alan
72ece75b11
ci(semgrep): add translation checks for report labels ( #27280 )
* ci(semgrep): add translation checks for report labels
* refactor: shift report tests to it's own yml
path can't be applied on a test id basis
* ci: ignore regional report in translation checks
[skip ci]
3 years ago
Ankush Menat
e5e00700e5
ci: use node action instead of apt ( #27220 )
3 years ago
Ankush Menat
8bbec42fa0
fix: undo changes to patch ( #26983 )
* fix: undo changes to patch
* ci: ignore empty body / head
3 years ago
Ankush Menat
2a43fe1a22
ci: ignore backports while checking docs ( #26962 )
[skip ci]
3 years ago
Ankush Menat
6928fc17c6
chore: remove warning rules
semgrep-action doesn't consider severity, hence ignoring these rules for now.
3 years ago
Ankush Menat
28d52c4a95
chore: remove warning rules
semgrep-action doesn't consider severity, hence ignoring these rules for now.
3 years ago
Ankush
b164070a4f
ci: make semgrep ignore existing errors (bp #26516 )
3 years ago
Ankush
1b5f3cf605
ci: make semgrep ignore existing errors ( #26516 )
3 years ago
Rucha Mahabal
40793f4a18
test: introduce cypress tests
Co-authored-by: Ankush <ankush@iwebnotes.com>
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
3 years ago
Ankush Menat
203c2b2292
ci: show bench logs if ui test fails
3 years ago
Suraj Shetty
e8e4841e5e
ci: Build frappe assets
- Build frappe assets since it is used for print views
3 years ago
Gavin D'souza
62996ec980
Revert "ci(test): Temporary change to test PY2 compatability removal in Frappe"
This reverts commit f93a7a72c1
.
4 years ago
Gavin D'souza
f93a7a72c1
ci(test): Temporary change to test PY2 compatability removal in Frappe
4 years ago
Suraj Shetty
6da2212e2d
ci: Update frappe branch
4 years ago
Suraj Shetty
dd15304921
fix: Frappe branch
4 years ago
Suraj Shetty
591f3f0bb9
ci: Try Parallel tests
4 years ago
Ankush Menat
073dcf7e42
ci(semgrep): fix false positives ( #25823 )
4 years ago
Suraj Shetty
1f025a84f5
ci: Update frappe branch
4 years ago
Ankush Menat
b1f8c80be3
ci: enable semgrep check on v13 branches and update rules ( #25647 )
* ci: enable semgrep on v13 branches
* ci: break semgrep steps for nicer output
* ci: update semgrep rules inline with frappe repo
4 years ago
Suraj Shetty
ee35444c3f
fix: Frappe branch
4 years ago
Suraj Shetty
cd8ee8ea97
ci: Try Parallel tests
4 years ago
Ankush Menat
c28fcba779
ci(semgrep): add correctness rule for on_cancel
Changes done to doctype object in `on_submit` are not commited to
database. Add rule to catch similar bugs.
4 years ago
Ankush Menat
67e647232c
ci(semgrep): Add semgrep testing ( #24871 )
Adds semgrep testing in CI.
Refer to:
- https://github.com/frappe/frappe/pull/12524
- https://github.com/frappe/frappe/pull/12577
4 years ago
Sagar Vora
19bb8c1137
ci: get branch name from GITHUB_REF if GITHUB_BASE_REF not available ( #24913 )
4 years ago
Mohammad Hasnain Mohsin Rajan
46d5431bad
fix: Github Action not failing when tests fail ( #24867 )
Co-authored-by: Sagar Vora <sagar@resilient.tech>
4 years ago
Mohammad Hasnain Mohsin Rajan
0f60f08f3e
ci: Port CI test from Travis to Github Actions ( #24846 )
4 years ago
Suraj Shetty
8586c08639
chore: Update translation syntax checker
4 years ago
Raffael Meyer
f2206c27e7
fix: allow other github links in same PR ( #23995 )
4 years ago
Suraj Shetty
0a6770a4ef
chore: GitHub actions for translation syntax validation and docs link ( #23627 )
* chore: Add GA for translation syntax validation
* chore: Documentation link checker
Co-authored-by: Gavin D'souza <gavin18d@gmail.com>
* fix: URL
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Gavin D'souza <gavin18d@gmail.com>
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
4 years ago