Ankush Menat
b728597ef4
fix: use hotfix branches for patch tests
3 years ago
Revant Nandgaonkar
c2697bca76
ci: change GITHUB_PAT to CI_PAT
3 years ago
Revant Nandgaonkar
c587f18735
chore: migrate docker to github actions
3 years ago
Ankush Menat
27cbeb920e
test(patch): run patch tests for major releases
Run patch tests one at a time
v10 db -> v12-> v13 -> .... -> frappe:corresponding base branch and PR.
3 years ago
Ankush Menat
4ad2b851c4
chore: change semgrep rules repo name
[skip ci]
3 years ago
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
5ada11b1af
ci: run semgrep after basic linters
3 years ago
Ankush Menat
92c0dcc3ea
ci: install dev requirements in CI
3 years ago
Ankush Menat
35e30bdcaf
ci: fail build if asset bundling fails ( #27820 )
3 years ago
Suraj Shetty
1fc8fcc258
ci: Upload coverage report to codecov
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
Ankush Menat
602374a0a4
ci: switch to latest LTS Ubuntu version
3 years ago
Ankush Menat
9de0f7538f
ci: concurrency control for CI jobs ( #27230 )
similar to https://github.com/frappe/frappe/pull/14061
This will ensure that only one instance of the following tests run per
PR and cancel previous running/queued jobs when new commits are pushed.
- Server / unit tests
- UI tests
- Patch test
3 years ago
Ankush Menat
e5e00700e5
ci: use node action instead of apt ( #27220 )
3 years ago
Ankush Menat
ae55eab599
chore: remove deprecated and empty QUnit tests ( #27179 )
* chore: remove deprecated and empty QUnit tests
* ci: fix UI test config
Testing library was added on Frappe, in order to reuse command testing
library has to be installed during setup process.
3 years ago
Ankush Menat
8a6b82b196
ci: ignore js files in unittests ( #26934 )
* ci: ignore js files in unittests
- Avoid running python unittests on PRs that ONLY change JS files.
* ci: ignore md files in test workflows
3 years ago
Rucha Mahabal
9dfddca22e
ci(cypress): use env variable for key
documentation ref: https://docs.cypress.io/guides/guides/command-line\#cypress-run
3 years ago
Ankush
0bb60b37df
chore: add timeout to GHA workflows ( #26714 )
3 years ago
Frappe PR Bot
6a71955b99
chore: change location of backport action ( #26705 ) ( #26707 )
(cherry picked from commit e906acdc49
)
Co-authored-by: Ankush <ankush@iwebnotes.com>
3 years ago
Ankush
e906acdc49
chore: change location of backport action ( #26705 )
3 years ago
Frappe PR Bot
cfd73ed554
ci: auto backport squashed commits based on labels ( #26622 ) ( #26640 )
(cherry picked from commit 057a0a9842
)
Co-authored-by: Ankush <ankush@iwebnotes.com>
3 years ago
Ankush
057a0a9842
ci: auto backport squashed commits based on labels ( #26622 )
3 years ago
Ankush
627a8a8cfd
chore: disable semgrep on push events (bp #26523 )
3 years ago
Ankush
a6d80dcc2a
chore: disable semgrep on push events ( #26523 )
3 years ago
Rucha Mahabal
2c3866a53e
ci(cypress): use env variable for key
documentation ref: https://docs.cypress.io/guides/guides/command-line\#cypress-run
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
Ankush Menat
a68344fe8a
refactor: extend commands from frappe
3 years ago
Ankush Menat
3f14b92e2c
ci: UI tests workflow
3 years ago
Gavin D'souza
43a24f2aa8
ci: Update ERPNext backup patch test >= v10
* Generated v10 backup archive
* used old v7 erpnext backup hosted via build.erpnext.com
* upgraded to v10 frappe + erpnext
* Hosted backup on https://erpnext.com/files/v10-erpnext.sql.gz
3 years ago
Gavin D'souza
c68006b607
ci: Update ERPNext backup patch test >= v10
* Generated v10 backup archive
* used old v7 erpnext backup hosted via build.erpnext.com
* upgraded to v10 frappe + erpnext
* Hosted backup on https://erpnext.com/files/v10-erpnext.sql.gz
3 years ago
Suraj Shetty
5b17f335d1
ci: Add coveralls_repo_token env variable
4 years ago
Suraj Shetty
97687839b0
ci: Run mariadb tests after PR merge for coverage badge
4 years ago
Suraj Shetty
faa25166a9
revert: "ci: Do not generate coverage report for hotfix branch"
Reverts: bcf116422a
4 years ago
Suraj Shetty
bcf116422a
ci: Do not generate coverage report for hotfix branch
4 years ago
Suraj Shetty
85aeca1443
ci: Update Python version to 3.7
4 years ago
Suraj Shetty
6da2212e2d
ci: Update frappe branch
4 years ago
Suraj Shetty
77f2686142
ci: Use only 3 containers for now
4 years ago
Suraj Shetty
b9a8afc234
ci: Add test orchestrator URL
4 years ago
Suraj Shetty
b3e647feca
fix: Pass ORCHESTRATOR_URL via secrets
4 years ago
Suraj Shetty
a70e11450e
ci: Check limits
4 years ago
Suraj Shetty
c79f5d7514
ci: Try parallel testing with orchestrator
4 years ago
Suraj Shetty
8696580254
ci: Fix coveralls
4 years ago
Suraj Shetty
6ca8989013
ci: Disble failfast temporarily
4 years ago
Suraj Shetty
5e88b14a01
chore: Debug
4 years ago
Suraj Shetty
b4c958caf0
chore: Debug
4 years ago
Suraj Shetty
3b69aa80fc
ci: Enable coveralls
4 years ago