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
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
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
2021-06-03 17:38:03 +05:30
Suraj Shetty
ab9b6bf36e
ci: Run ui tests after PR merge for status badge
2021-05-26 15:46:41 +05:30
Suraj Shetty
8764134309
ci: Run mariadb tests after PR merge for coverage badge
2021-05-26 10:02:12 +05:30
Faris Ansari
dc539ff21c
fix: Set node version to 14 for publish assets
2021-05-18 17:06:26 +05:30
Faris Ansari
d90660affe
fix: Set node to version 14 again
2021-05-18 13:09:28 +05:30
Faris Ansari
f8ca990a83
Merge remote-tracking branch 'upstream/develop' into esbuild
2021-05-16 11:26:43 +05:30
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
2021-05-12 20:22:48 +05:30
Suraj Shetty
155b28cf51
ci: Update Job names
...
- Also, update mergify rules
2021-05-12 16:29:05 +05:30
Suraj Shetty
ed2a3aa589
ci: Add test orchestrator URL
2021-05-10 23:48:32 +05:30
Suraj Shetty
0d937cda27
fix: Get ORCHESTRATOR_URL from secrets
2021-05-10 16:14:36 +05:30
Suraj Shetty
1829fd3a2b
ci: Run tests using orchestrator
2021-05-10 12:46:02 +05:30
Suraj Shetty
03d3d67b93
ci: Trial to fix coveralls
2021-05-08 15:49:15 +05:30
Suraj Shetty
00b6a6729d
ci: Use right parallel test runner command
...
- Also, fix coverage & coveralls setup
2021-05-07 21:59:58 +05:30
Faris Ansari
9000d86681
fix: Pin node version to 14 in package.json
...
- Install node 14 in CI
2021-05-07 12:33:34 +05:30
Suraj Shetty
5ccccf104d
chore: Track before test time
2021-05-06 17:39:19 +05:30
Suraj Shetty
3e7b48438c
chore: Debug
2021-05-06 15:12:08 +05:30
Suraj Shetty
aab2aca089
ci: Enable coveralls
2021-05-06 14:52:00 +05:30
Suraj Shetty
22dfb6a3d8
ci: Fix path-to-cov
2021-05-05 17:11:55 +05:30
Suraj Shetty
c5910f91ee
ci: Fix coverage file path
2021-05-05 16:17:17 +05:30
Suraj Shetty
0375b9f3af
chore: Enable coveralls
2021-05-05 14:05:12 +05:30
Suraj Shetty
e33a09f4e6
refactor: Test runner
...
- fix style
- Handle global dependency
2021-05-05 13:15:25 +05:30
Faris Ansari
d290f41abd
fix: Support for built assets downloading
2021-05-04 06:52:07 +05:30
Suraj Shetty
ad06165ab5
fix: Use GITHUB_RUN_ID for uniqueness
...
- Also rename tests
2021-05-03 00:41:37 +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
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>
2021-04-29 13:06:55 +05:30
Suraj Shetty
90dde099df
ci: Remove coverage step from workflow
2021-04-29 12:55:46 +05:30
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>
2021-04-26 20:28:15 +05:30
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
2021-04-23 09:04:34 +05:30
Mohammad Hasnain Mohsin Rajan
d61f5afcdd
ci: Set COVERALLS_SERVICE_NAME as github ( #12961 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-22 15:53:52 +05:30
Mohammad Hasnain Mohsin Rajan
2128a0d766
ci: Fix coveralls ( #12926 )
2021-04-21 15:22:41 +05:30
Rohan Bansal
86851028ea
feat: manage Python 3 compatiblity with dependencies
2021-04-14 14:40:58 +05:30
Prssanna Desai
70b7909c06
Merge branch 'develop' into permlevel-fix
2021-03-24 18:56:28 +05:30
Suraj Shetty
6dcc00ad95
ci: Trigger ssh for gha based on label
2021-03-24 09:39:18 +05:30
Suraj Shetty
994818959b
ci: Remove tmate
2021-03-23 19:53:53 +05:30
prssanna
d0ba1e0c4c
test: debug failing tests
2021-03-23 13:58:25 +05:30
Suraj Shetty
c5b5dc3b48
Merge branch 'develop' into semgrep_translation_rules
2021-03-22 10:44:37 +05:30
Suraj Shetty
e43a0d141d
chore: Ignore cypress setup for server tests
2021-03-19 19:19:56 +05:30
Gavin D'souza
428facac7e
Merge branch 'refactor-personal-data-deletion' of github.com:gavindsouza/frappe into refactor-personal-data-deletion
2021-03-17 13:00:16 +05:30
Gavin D'souza
c0d052cf94
Revert "ci: Bump mariaDB version to 10.4"
...
This reverts commit c9d0aae791 .
2021-03-17 12:59:27 +05:30
Suraj Shetty
a22123577a
Merge branch 'develop' into refactor-personal-data-deletion
2021-03-17 08:14:07 +05:30
Sagar Vora
86e76e6350
ci: update badge in README and add push event trigger ( #12592 )
2021-03-17 07:50:51 +05:30
Mohammad Hasnain Mohsin Rajan
e233d9dc3e
ci: Use Ubuntu 18.04 specifically and remove verbose flag ( #12588 )
2021-03-16 19:58:08 +05:30
Gavin D'souza
c9d0aae791
ci: Bump mariaDB version to 10.4
...
10.5 is latest stable, but this feature was developed on 10.4; so
leaving this here.
2021-03-16 12:45:31 +05:30
Gavin D'souza
5677629adb
chore: Bump Postgres to 12.4
2021-03-15 16:15:29 +05:30
Ankush Menat
d7bc848a52
test(semgrep): python and javascript translation
...
- Move rules to .github folder to reduce clutter in root folder
- separate out rules
- add tests for rules
- docs for writing more rules
2021-03-13 18:22:48 +05:30
Mohammad Hasnain Mohsin Rajan
7148af3c20
ci: Fix Github Action ( #12574 )
2021-03-12 22:44:30 +05:30
Mohammad Hasnain Mohsin Rajan
3ee0d76776
ci: Port from TravisCI to Github Actions ( #12559 )
2021-03-12 13:59:30 +05:30