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
před 4 roky
Gavin D'souza
95ab1a60b4
ci: Add frappe patch test
* Generated v10 backup archive
* used old v7 erpnext backup hosted via build.erpnext.com
* upgraded to v10 frappe + erpnext
* uninstalled and deleted erpnext related data
* Hosted backup on https://frappeframework.com/files/v10-frappe.sql.gz
před 4 roky
Gavin D'souza
feea2f3c44
fix: Use raw string to avoid invalid escape sequence errors
před 4 roky
Suraj Shetty
ab9b6bf36e
ci: Run ui tests after PR merge for status badge
před 4 roky
Suraj Shetty
8764134309
ci: Run mariadb tests after PR merge for coverage badge
před 4 roky
Ankush Menat
889e8aacb7
ci(semgrep): false +ve translation on templates
separated JS and python rules for granuarilty.
Ignore matches with microtemplating that have this structure: `{{.*_.*}}` in string.
před 4 roky
Faris Ansari
dc539ff21c
fix: Set node version to 14 for publish assets
před 4 roky
Faris Ansari
d90660affe
fix: Set node to version 14 again
před 4 roky
Ankush Menat
4d7f5a8f8d
ci: fix semgrep false positives ( #13161 )
* ci: fix false positive rule for split js translate
- limit regex to must match end of line.
- expand previous check to take care of other ways to split multi-line
calls.
* ci: update tests for rules, ignore rules in sider
* ci: enable semgrep on v13 branches
* ci: fix false positive for python split strings
před 4 roky
Suraj Shetty
155b28cf51
ci: Update Job names
- Also, update mergify rules
před 4 roky
Suraj Shetty
ed2a3aa589
ci: Add test orchestrator URL
před 4 roky
Suraj Shetty
0d937cda27
fix: Get ORCHESTRATOR_URL from secrets
před 4 roky
Suraj Shetty
1829fd3a2b
ci: Run tests using orchestrator
před 4 roky
Suraj Shetty
03d3d67b93
ci: Trial to fix coveralls
před 4 roky
Suraj Shetty
00b6a6729d
ci: Use right parallel test runner command
- Also, fix coverage & coveralls setup
před 4 roky
Faris Ansari
9000d86681
fix: Pin node version to 14 in package.json
- Install node 14 in CI
před 4 roky
Suraj Shetty
5ccccf104d
chore: Track before test time
před 4 roky
Suraj Shetty
3e7b48438c
chore: Debug
před 4 roky
Suraj Shetty
aab2aca089
ci: Enable coveralls
před 4 roky
Suraj Shetty
22dfb6a3d8
ci: Fix path-to-cov
před 4 roky
Suraj Shetty
c5910f91ee
ci: Fix coverage file path
před 4 roky
Suraj Shetty
0375b9f3af
chore: Enable coveralls
před 4 roky
Suraj Shetty
e33a09f4e6
refactor: Test runner
- fix style
- Handle global dependency
před 4 roky
Faris Ansari
d290f41abd
fix: Support for built assets downloading
před 4 roky
Mohammad Hasnain Mohsin Rajan
17f6f8c893
fix: different service name for push and pull request events
před 4 roky
leela
0a1902e650
fix: semgrep's split translation regex
před 4 roky
Suraj Shetty
ad06165ab5
fix: Use GITHUB_RUN_ID for uniqueness
- Also rename tests
před 4 roky
Suraj Shetty
cf0e15e264
feat: Enable cypress parallel testing
před 4 roky
Suraj Shetty
7ac3b53c1c
feat: Add support for build combined coverage file
- from parallel tests
- Update workflow files
před 4 roky
Mohammad Hasnain Mohsin Rajan
3e78995594
ci: Use different service name for push and pull request events ( #13030 )
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
před 4 roky
Suraj Shetty
90dde099df
ci: Remove coverage step from workflow
před 4 roky
Mohammad Hasnain Mohsin Rajan
58a2c1f8b6
ci: fix coveralls ( #12971 )
* fix: add service
* Update ci-tests.yml
* Update ci-tests.yml
* fix: coverage version
* fix: coveralls
* Update requirements.txt
* fix: add service name env var
* ci: Set COVERALLS_SERVICE_NAME as github
* ci: add tokens
* Update ci-tests.yml
* ci: no rcfile
* fix: pin versions
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
před 4 roky
Ankush Menat
02df4a783a
ci(semgrep): add more rules, r/python.correctness ( #12876 )
* ci(semgrep): add more rules, r/python.correctness
- Added file for defining rules as per frappe data model:
frappe_correctness.yml
- Add rule for SQLi, with WARNING only for now
- Add rule file for UX
- WARNING | INFO do not fail the build now
* ci(semgrep): on_cancel, on_submit correctness rule
* ci(semgrep): split workflow in steps
* ci(semgrep): catch line breaks in _()
* chore: fix sider issue
před 4 roky
Mohammad Hasnain Mohsin Rajan
2db5e2242d
ci: Set COVERALLS_SERVICE_NAME as github ( #12961 )
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
před 4 roky
Mohammad Hasnain Mohsin Rajan
3631dfdf49
ci: Fix coveralls ( #12926 )
před 4 roky
Rohan Bansal
3142723d41
feat: manage Python 3 compatiblity with dependencies
před 4 roky
Mohammad Hasnain Mohsin Rajan
9070cdc73d
ci: fix coveralls ( #12971 )
* fix: add service
* Update ci-tests.yml
* Update ci-tests.yml
* fix: coverage version
* fix: coveralls
* Update requirements.txt
* fix: add service name env var
* ci: Set COVERALLS_SERVICE_NAME as github
* ci: add tokens
* Update ci-tests.yml
* ci: no rcfile
* fix: pin versions
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
před 4 roky
Ankush Menat
5881c5dbec
ci(semgrep): add more rules, r/python.correctness ( #12876 )
* ci(semgrep): add more rules, r/python.correctness
- Added file for defining rules as per frappe data model:
frappe_correctness.yml
- Add rule for SQLi, with WARNING only for now
- Add rule file for UX
- WARNING | INFO do not fail the build now
* ci(semgrep): on_cancel, on_submit correctness rule
* ci(semgrep): split workflow in steps
* ci(semgrep): catch line breaks in _()
* chore: fix sider issue
před 4 roky
Mohammad Hasnain Mohsin Rajan
d61f5afcdd
ci: Set COVERALLS_SERVICE_NAME as github ( #12961 )
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
před 4 roky
Mohammad Hasnain Mohsin Rajan
2128a0d766
ci: Fix coveralls ( #12926 )
před 4 roky
Rohan Bansal
86851028ea
feat: manage Python 3 compatiblity with dependencies
před 4 roky
Suraj Shetty
6dcc00ad95
ci: Trigger ssh for gha based on label
před 4 roky
Suraj Shetty
994818959b
ci: Remove tmate
před 4 roky
Ankush Menat
cee30d2fa7
ci: ignore safe_eval paths
před 4 roky
prssanna
d0ba1e0c4c
test: debug failing tests
před 4 roky
Suraj Shetty
0827fba2d8
chore: Update stale.yml config
před 4 roky
Suraj Shetty
e43a0d141d
chore: Ignore cypress setup for server tests
před 4 roky
Gavin D'souza
c0d052cf94
Revert "ci: Bump mariaDB version to 10.4"
This reverts commit c9d0aae791
.
před 4 roky
Sagar Vora
86e76e6350
ci: update badge in README and add push event trigger ( #12592 )
před 4 roky
Mohammad Hasnain Mohsin Rajan
e233d9dc3e
ci: Use Ubuntu 18.04 specifically and remove verbose flag ( #12588 )
před 4 roky