Commit graph

81 commits

Author SHA1 Message Date
Ankush Menat
936c073d23 Revert "ci: Only upload server-side coverage report if .py files are changed"
partially reverts this PR https://github.com/frappe/frappe/pull/16048

This is causing random fluctations.
2022-08-13 21:30:42 +05:30
Ankush Menat
c8843e8703 ci: dont install from mariadb repo 2022-07-29 16:36:35 +05:30
Gavin D'souza
4289e7c7ea ci: Merge PR linter checks
* Combine jobs to be triggered at pull_request events: commit-lint,
  docs-required, linter
* PY310-ize helper scripts
2022-07-25 14:33:30 +05:30
Gavin D'souza
31658e5241 ci: Install wkhtmltopdf in the background 2022-07-25 13:07:53 +05:30
Gavin D'souza
d23705f60c ci: Cleanup install.sh 2022-07-25 13:06:07 +05:30
gavin
d285ce910f
Merge branch 'develop' into mariadb-client-refactor 2022-07-22 12:11:54 +05:30
Ankush Menat
d2177d16a1
ci: bump node version to node16 (#17564)
* ci: bump node version to node16

* chore: remove `node-sass` - no longer used

Co-authored-by: Sagar Vora <sagar@resilient.tech>
2022-07-21 16:54:41 +05:30
Gavin D'souza
1ccdad811a Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-07-19 16:23:24 +05:30
Ankush Menat
3a7c7ff182 ci: ignore HTML files for server tests 2022-07-13 20:30:07 +05:30
Gavin D'souza
1723a6dc9d ci: Add mariadb system dependency 2022-07-05 16:16:46 +05:30
Gavin D'souza
71b5c77e6e Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-07-05 14:55:02 +05:30
Gavin D'souza
db53813a68 ci(install): Set mariadb root password via envvar
ref: https://github.com/frappe/frappe/runs/7175643618
2022-07-04 20:21:28 +05:30
Gavin D'souza
858735dfa9 ci(install): Use mariadb 10.6 client 2022-07-04 12:33:29 +05:30
Gavin D'souza
65c6914068 ci: Bump mariadb from 10.3 to 10.6 2022-07-04 12:33:29 +05:30
Gavin D'souza
448f9573f5 ci: Separate PY / conflict validation step, merge install 2022-07-04 11:57:42 +05:30
phot0n
b0cea224c8 ci: consider svg as docs as well 2022-07-03 21:03:44 +05:30
phot0n
6e818caa59 ci: use different reference for fetched label in has_label 2022-07-03 16:41:37 +05:30
Gavin D'souza
3f65dab6b2 Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-06-30 17:53:51 +05:30
Gavin D'souza
f44333a18e ci: Use bench commands with verbose option 2022-06-30 15:24:03 +05:30
Gavin D'souza
cf699fe40b Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-06-29 13:49:18 +05:30
Ankush Menat
181833848f
Merge pull request #17337 from ankush/lint_cleanup
fix: remove bare exception catching
2022-06-29 11:39:05 +05:30
Gavin D'souza
6862c10403 ci: PY38 compatible roulette 2022-06-29 11:04:01 +05:30
Ankush Menat
d35d7ffbe2 fix: remove bare exception catching
A bare except catches lots of things (like generator iteration end) and should never be used.
2022-06-28 18:05:00 +05:30
gavin
bb0283a1cf
Merge branch 'develop' into mariadb-client-refactor 2022-06-28 14:57:21 +05:30
Ankush Menat
9bd753551b
ci: temp fix for semgrep (#17228)
* ci: respekt my authoritah

* ci: use pip semgrep
2022-06-28 12:07:34 +05:30
Gavin D'souza
aa83965313 ci(ui-tests): Print 'bench start' log on failure
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-06-27 12:19:54 +05:30
Gavin D'souza
b4578dc632 Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-06-15 16:40:29 +05:30
Gavin D'souza
601217a4a2 ci: Run tests bypassing roulette with labels "Run UI Tests", "Run Server Tests" 2022-06-13 19:38:30 +05:30
Ankush Menat
9137a597eb
ci: update apt cache (#17057) 2022-06-02 14:40:14 +05:30
gavin
9100e8f0bb ci: Install system dependency - libmariadb-dev 2022-05-24 19:19:53 +05:30
gavin
9bd79e80a6
Merge pull request #16902 from phot0n/ci-no-run
ci: `Skip CI` label for not running build processes
2022-05-24 11:25:15 +05:30
phot0n
909ce30f0a ci: Skip CI label for stopping build process 2022-05-23 13:01:31 +05:30
chillaranand
e2652daf73 chore: Added flake8 to pre-commit config 2022-05-19 15:34:35 +05:30
Ankush Menat
9bec3480ed
ci: failfast in case of conflicts (#16777) 2022-04-27 14:25:45 +05:30
Suraj Shetty
21fcd00416 ci: While running all builds set build-server as well 2022-02-21 11:07:37 +05:30
Suraj Shetty
5de89df5b7 ci: Only upload server-side coverage report if .py files are changed 2022-02-21 09:32:44 +05:30
Suraj Shetty
e0dcabf224 ci: Build not required for UI tests
Since we build again after instrumentation
2022-02-17 09:52:49 +05:30
Suraj Shetty
20056a447f ci: Track server-side coverage as well while doing UI tests 2022-02-16 17:21:59 +05:30
Faris Ansari
ad390aab22 fix: update docs link checker
since docs are moved to wiki
2021-12-14 16:31:02 +05:30
Ankush Menat
3baa09401e
ci: update apt cache before install (#15226) 2021-12-09 09:59:19 +05:30
Ankush Menat
488cb31265 ci: move semgrep rules out of repo 2021-10-22 21:46:50 +05:30
Ankush Menat
61a59240dd
ci: install dev dependencies for server tests 2021-10-20 12:46:07 +05:30
Gavin D'souza
4a5bb2873d ci: Ignore sql=>qb rule for test files 2021-10-19 13:25:37 +05:30
Ankush Menat
ac1bb636cf
ci: flag new instances of sql_ddl and sql_list 2021-10-18 22:13:50 +05:30
Ankush Menat
059e5441c2
ci: use semgrep pattern instead of regex 2021-10-18 21:33:06 +05:30
abhishek
236c84ab8b feat: semgrep rule for db.sql 2021-10-18 16:35:13 +05:30
Ankush Menat
e6bbc698d0
ci: fail CI if asset bundling fails (#14364)
* ci: fail CI if asset bundling fails

* chore: formatting

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-10-08 11:40:31 +05:30
Ankush Menat
eb4e94f52d
fix: install mariadb client
GitHub action's Ubuntu 20.04 image has mysql8 tooling which is not
compatible with mariadb.
2021-09-12 18:11:12 +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
Gavin D'souza
14d46f10de chore: Add vue as extn to frontend code 2021-08-27 20:28:42 +05:30