Commit graph

11 commits

Author SHA1 Message Date
Ayush Chaudhari
aeb8a3f0a7 fix: ignore 'test_*' directories 2025-08-14 18:16:41 +05:30
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
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
Ankush Menat
c5a514055e ci: dont fail silently and wait for coverage 2022-08-13 22:50:22 +05:30
Gavin D'souza
a84a67482f fix: Exclude 'tested' files from coverage 2022-08-12 12:50:31 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Suraj Shetty
628c9bc288
ci: Remove build.py from exclusion list
Co-authored-by: gavin <gavin18d@gmail.com>
2022-02-17 16:57:27 +05:30
Suraj Shetty
4e24efda8f ci: Exclude coverage.py and build.py from the report 2022-02-16 17:44:14 +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
Suraj Shetty
49684ca399 refactor: Make coverage context manager
- Decoupled coverage code from testing to setup code coverage before any import happen to get accurate coverage (before it used to skip import statements for some files)
2021-08-09 09:50:41 +05:30
Gavin D'souza
2ac1c45c66 refactor: Maintain common list for Frappe Coverage settings
* Maintain common settings for coverage settings of parallel and base test suites
* Expand FRAPPE_EXCLUSIONS list based on coveralls.io report
2021-07-14 20:40:24 +05:30