Commit graph

15 commits

Author SHA1 Message Date
Akhil Narang
4671552fe6
build: switch to node 22 (#32421)
It has LTS, 20 is in maintenance mode

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-05-07 10:43:00 +05:30
Akhil Narang
2b92073aa7
chore: setup sqlite tests, drop postgres CI
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 13:59:17 +05:30
Sagar Vora
b2cab51849
feat: re-introduce mysqlclient 🚀 (#31719)
* feat: mysqlclient

* fix: update error attrs

* fix: decode mogrified query to unicode

* fix: do some cleanup

* chore: disable cleanup for now

* fix: remove unnecessary call to as_unicode

* test: skip perf test for now

* fix: fallback to empty str

* fix: unbuffered cursor support

* fix: update converters and other changes

* fix: add cleanup back

* perf: improve timedelta converter

* fix: dont attempt to run query when explain flag is set

* test: cleanup tests

* chore: remove commented code

* perf: store conf as local var

* chore: ensure sequence

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2025-03-15 09:48:21 +05:30
Ankush Menat
6b0d13a5bf test: avoid rebuilding assets 2025-01-04 12:14:55 +05:30
Ankush Menat
bbf9e7f7ff
ci: make things parallel, drop unnecessary things (#28923)
Using parallel tests is pointless if you spend 2.5 minute setting up and
3 minutes running tests

https://en.wikipedia.org/wiki/Amdahl%27s_law
2024-12-27 09:52:26 +00:00
Akhil Narang
c0d0a137ec
fix(ci): drop ubuntu version check for wkhtmltopdf
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-16 16:10:56 +05:30
Ankush Menat
f5b22ee2f4 ci: Dont specify client version
Clients work on mysql protocol ABI which works for huge ranges of
servers.
2024-12-16 13:22:30 +05:30
David Arnold
7748910ddc
ci: chore revert using forked bench (#28584)
* ci: chore revert using branched bench

merge after is released: https://github.com/frappe/bench/pull/1600

* ci: name downstream job
2024-11-28 09:32:12 +01:00
David Arnold
0aa089b9f0
ci: remove obsolete helpers & fix coverage config setup (#28603)
* ci: remove obsolete helpers

* ci: fix coverage
2024-11-28 00:00:21 +00:00
David Arnold
d532ee95c1
ci: leanly invocate bench modules requiring less upstream refactor (#28600) 2024-11-27 15:26:44 +00:00
David Arnold
7d96f26b95
ci: fix some apps path oversights (#28585) 2024-11-26 19:16:10 +00:00
David Arnold
894c7d871c
ci: prepare shared action for concrete downstream use (#28572)
* ci: cleanup setup action

* ci: make migration & setup downstream-ready

* ci: replace obscure bench remove-app with an equivalent rm -rf
2024-11-26 17:11:08 +00:00
David Arnold
75ed8a8503
ci: small speed up (#28569)
* ci: small speedup

* chore: small fixes
2024-11-25 19:10:34 +01:00
David Arnold
1467a7f896
ci: polish reusable workflows (#28521) 2024-11-19 21:50:32 +00:00
David Arnold
61a107b6af
ci: make gh actions functions (#28299)
* ci: make gh actions downstream reusable

* refactor: merge ci helper into run-parallel-test command

* ci: refactor to sensible db password
2024-10-27 02:09:02 +00:00