Ankush Menat
eb4e94f52d
fix: install mariadb client
GitHub action's Ubuntu 20.04 image has mysql8 tooling which is not
compatible with mariadb.
il y a 3 ans
Suraj Shetty
fba196484c
ci: Conditionally run codecov upload
il y a 3 ans
Suraj Shetty
8b252d493a
ci: Conditionally run codecov upload
il y a 3 ans
Suraj Shetty
f4e477ef42
ci: Run postgres builds as well after a push on develop
il y a 3 ans
Suraj Shetty
cbd94bd33d
ci: Set name for coverage data upload
il y a 3 ans
Suraj Shetty
ba73d99377
ci: Enable code coverage for postgres build as well
il y a 3 ans
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).
il y a 3 ans
Ankush Menat
765a255a00
ci: use ubuntu-latest for all jobs
il y a 3 ans
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.
il y a 3 ans
Ankush Menat
132864a776
ci: extend concurrency control to all long jobs
il y a 3 ans
Ankush Menat
d0099985fc
ci: concurrency control for postgres
il y a 3 ans
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.
il y a 3 ans
Gavin D'souza
14d46f10de
chore: Add vue as extn to frontend code
il y a 3 ans
Gavin D'souza
8412674f49
fix(ci): Don't skip Coverage job unconditionally
pls ;)
il y a 3 ans
Gavin D'souza
525923d213
fix(roulette): Run only one conditional block
il y a 3 ans
Gavin D'souza
e2585cbc7e
ci(roulette): Add support for running on forks
il y a 3 ans
Gavin D'souza
fe060bda0e
fix: Use urllib instead of requests
Simply because "too much effort" to add another library pfft
il y a 3 ans
Gavin D'souza
e01ef7ff52
ci(roulette): Use GitHub REST to figure out changed files
il y a 3 ans
Gavin D'souza
597d237f63
ci: Roulette for GHA
il y a 3 ans
gavin
850939ed13
Revert "ci: ignore js only changes while running unittests ( #13932 )"
This reverts commit ead26527b7
.
il y a 3 ans
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 ;)
il y a 3 ans
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
il y a 3 ans
Ankush Menat
144880bfb1
ci: make semgrep check diff-aware
il y a 3 ans
Gavin D'souza
275a4335c2
ci: Override acceptable semantic commit name types
* Add "BREAKING CHANGE"
il y a 3 ans
Ankush
d58d2ac77f
ci(cypress): use env variable for key ( #13616 )
documentation ref: https://docs.cypress.io/guides/guides/command-line#cypress-run
il y a 4 ans
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
il y a 4 ans
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
il y a 4 ans
Gavin D'souza
feea2f3c44
fix: Use raw string to avoid invalid escape sequence errors
il y a 4 ans
Suraj Shetty
ab9b6bf36e
ci: Run ui tests after PR merge for status badge
il y a 4 ans
Suraj Shetty
8764134309
ci: Run mariadb tests after PR merge for coverage badge
il y a 4 ans
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.
il y a 4 ans
Faris Ansari
dc539ff21c
fix: Set node version to 14 for publish assets
il y a 4 ans
Faris Ansari
d90660affe
fix: Set node to version 14 again
il y a 4 ans
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
il y a 4 ans
Suraj Shetty
155b28cf51
ci: Update Job names
- Also, update mergify rules
il y a 4 ans
Suraj Shetty
ed2a3aa589
ci: Add test orchestrator URL
il y a 4 ans
Suraj Shetty
0d937cda27
fix: Get ORCHESTRATOR_URL from secrets
il y a 4 ans
Suraj Shetty
1829fd3a2b
ci: Run tests using orchestrator
il y a 4 ans
Suraj Shetty
03d3d67b93
ci: Trial to fix coveralls
il y a 4 ans
Suraj Shetty
00b6a6729d
ci: Use right parallel test runner command
- Also, fix coverage & coveralls setup
il y a 4 ans
Faris Ansari
9000d86681
fix: Pin node version to 14 in package.json
- Install node 14 in CI
il y a 4 ans
Suraj Shetty
5ccccf104d
chore: Track before test time
il y a 4 ans
Suraj Shetty
3e7b48438c
chore: Debug
il y a 4 ans
Suraj Shetty
aab2aca089
ci: Enable coveralls
il y a 4 ans
Suraj Shetty
22dfb6a3d8
ci: Fix path-to-cov
il y a 4 ans
Suraj Shetty
c5910f91ee
ci: Fix coverage file path
il y a 4 ans
Suraj Shetty
0375b9f3af
chore: Enable coveralls
il y a 4 ans
Suraj Shetty
e33a09f4e6
refactor: Test runner
- fix style
- Handle global dependency
il y a 4 ans
Faris Ansari
d290f41abd
fix: Support for built assets downloading
il y a 4 ans
Mohammad Hasnain Mohsin Rajan
17f6f8c893
fix: different service name for push and pull request events
il y a 4 ans