Commit graph

166 commits

Author SHA1 Message Date
MitulDavid
eeae52bbf9 ci: Use file-existence-action instead of hashFiles() 2021-09-22 19:07:32 +05:30
Mitul David
eb16a09a57
ci: Upload coverage only if report is generated 2021-09-21 20:26:14 +05:30
MitulDavid
d8d8c8e54e ci: Code coverage for JS files 2021-09-20 21:11:47 +05:30
Suraj Shetty
fba196484c
ci: Conditionally run codecov upload 2021-09-06 22:50:42 +05:30
Suraj Shetty
8b252d493a
ci: Conditionally run codecov upload 2021-09-06 22:49:48 +05:30
Suraj Shetty
f4e477ef42
ci: Run postgres builds as well after a push on develop 2021-09-02 13:06:48 +05:30
Suraj Shetty
cbd94bd33d ci: Set name for coverage data upload 2021-09-02 10:53:53 +05:30
Suraj Shetty
ba73d99377 ci: Enable code coverage for postgres build as well 2021-09-02 09:36:57 +05:30
Suraj Shetty
cf028964f3 CI: Use codecov coverage reporting
Why?
- Coveralls had login issues and we were not able to view files to find the actual uncovered lines
- Codecov has better reporting (status checks & commit diff coverage, ), UX (better folder/file navigation, faster page loads), and has more features.
- Codecov will not require additional step of
coverage wrap-up for parallel builds (it manages it internally somehow).
2021-09-02 09:36:25 +05:30
gavin
8bd1b05727
Merge pull request #14075 from gavindsouza/roulette-gha-push
fix(ci): Run all builds on github push events
2021-08-30 17:22:48 +05:30
Suraj Shetty
93b7eb64ec
Merge pull request #14061 from ankush/gha_concurrency 2021-08-30 13:10:44 +05:30
Gavin D'souza
a5ded007a5 fix(ci): Run all builds on github push events
Issue: No PR number is detected on Push events and all builds are
skipped. We want the opposite to be true, so we're running all builds on
merges in hopes of testing better.
2021-08-30 12:54:37 +05:30
Ankush Menat
132864a776
ci: extend concurrency control to all long jobs 2021-08-27 23:08:09 +05:30
Ankush Menat
d0099985fc
ci: concurrency control for postgres 2021-08-27 23:05:09 +05:30
Ankush Menat
a5e9d1ef4d
ci: concurrency control for CI jobs
When same PR causes multiple CI triggers due to rapid addition of new
commits, this change will cancel previous CI jobs to save resources.
2021-08-27 22:50:44 +05:30
Gavin D'souza
14d46f10de chore: Add vue as extn to frontend code 2021-08-27 20:28:42 +05:30
Gavin D'souza
8412674f49 fix(ci): Don't skip Coverage job unconditionally
pls ;)
2021-08-27 19:31:06 +05:30
Gavin D'souza
525923d213 fix(roulette): Run only one conditional block 2021-08-25 15:23:00 +05:30
Gavin D'souza
e2585cbc7e ci(roulette): Add support for running on forks 2021-08-25 13:46:09 +05:30
Gavin D'souza
fe060bda0e fix: Use urllib instead of requests
Simply because "too much effort" to add another library pfft
2021-08-25 13:25:40 +05:30
Gavin D'souza
e01ef7ff52 ci(roulette): Use GitHub REST to figure out changed files 2021-08-25 12:40:44 +05:30
Gavin D'souza
597d237f63 ci: Roulette for GHA 2021-08-24 20:41:24 +05:30
gavin
850939ed13 Revert "ci: ignore js only changes while running unittests (#13932)"
This reverts commit ead26527b7.
2021-08-24 13:26:03 +05:30
Gavin D'souza
87f05c2e6b ci: Handle payload elements as not set/None
alt motive: Re-trigger GHAs that have been showing waiting for too
long ;)
2021-08-17 09:57:32 +05:30
Ankush Menat
ead26527b7
ci: ignore js only changes while running unittests (#13932)
* ci: ignore js only changes while running unittests

- IF PR only changes JS files then unittests / patch tests wont run.
- Change done to save resources / concurrent builds.

* ci: ignore md files in build
2021-08-13 18:14:47 +05:30
gavin
2e71f53b3d
Merge pull request #13703 from gavindsouza/lang-resolution
refactor: Request Language Resolution
2021-07-23 19:42:37 +05:30
Ankush Menat
144880bfb1
ci: make semgrep check diff-aware 2021-07-16 12:00:30 +05:30
Gavin D'souza
275a4335c2 ci: Override acceptable semantic commit name types
* Add "BREAKING CHANGE"
2021-07-15 15:56:35 +05:30
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
Ankush Menat
327b9669e3
Merge branch 'develop' into sgrep_microtemplate 2021-06-03 12:09:19 +05:30
Ankush Menat
a89ed83c38
Merge branch 'develop' into sgrep_microtemplate 2021-06-02 16:55:29 +05:30
Gavin D'souza
4e7526066f Merge branch 'develop' into drop-py2-code 2021-05-28 10:51:39 +05:30
Gavin D'souza
feea2f3c44 fix: Use raw string to avoid invalid escape sequence errors 2021-05-26 16:32:41 +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
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.
2021-05-25 12:53:37 +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
85f6f47edc Merge branch 'develop' of https://github.com/frappe/frappe into python-distributed-testing 2021-05-08 11:27:42 +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
add84065ad Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-07 12:55:04 +05:30