J. Nick Koston
b7a2820ffe
Merge branch 'analyze-memory-dedup-aliased-ram-symbols' into integration
2026-07-05 23:00:31 -05:00
Jonathan Swoboda
43b3aa0712
[ci] Fix nRF52 zigbee/network test-grouping conflict ( #17295 )
2026-06-30 11:37:59 -04:00
J. Nick Koston
70c11a7f3e
Merge remote-tracking branch 'upstream/logger-buffered-recursion-guard' into integration
2026-06-18 16:12:45 -05:00
J. Nick Koston
9fbd4c38ae
[i2s_audio] Move test bus into a shared package and give fixtures unique ids ( #16793 )
2026-06-04 17:28:32 -05:00
Jonathan Swoboda
148a5ba68e
[esp32] Run clang-tidy via the native ESP-IDF toolchain ( #16748 )
2026-06-04 11:47:42 -04:00
J. Nick Koston
3e562b9267
[ci] Fix memory impact build selecting unbuildable platform ( #16788 )
2026-06-03 22:30:36 -05:00
J. Nick Koston
3ce95682ca
Merge remote-tracking branch 'origin/cv-sensitive-redact-sentinel' into integration
2026-05-26 23:51:13 -05:00
J. Nick Koston
ceb9d406e1
[core] Enable ruff PIE (flake8-pie) lint family ( #16658 )
2026-05-26 07:46:44 -04:00
J. Nick Koston
ae74920b81
[core] Enable ruff PTH (flake8-use-pathlib) lint family ( #16661 )
2026-05-26 05:14:42 +00:00
J. Nick Koston
3ae8942eda
Merge remote-tracking branch 'upstream/platformio-retry-connection-errors' into integration
2026-05-13 01:24:22 -05:00
Jesse Hills
cb2dbcd70d
[ci] Add validate.*.yaml for config-only component tests ( #16384 )
2026-05-13 11:37:33 +12:00
J. Nick Koston
ba775b7a0a
Merge remote-tracking branch 'upstream/dev' into integration
2026-04-18 16:23:21 -05:00
J. Nick Koston
b293be23b0
[ci] Honor CONFLICTS_WITH when grouping component tests ( #15834 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-04-18 08:11:38 -05:00
J. Nick Koston
e347d65b64
Merge remote-tracking branch 'upstream/sensor/throttle-with-priority-nan-specialize' into integration
2026-04-18 06:32:18 -05:00
J. Nick Koston
897dd7cd5e
[ci] Move conflict-aware grouping helpers into script/helpers.py with tests
2026-04-18 06:26:03 -05:00
J. Nick Koston
fd42f43da0
Merge remote-tracking branch 'upstream/dev' into integration
2026-04-15 19:46:17 -10:00
J. Nick Koston
e7194dce75
[core] Deduplicate entity type boilerplate with X-macro pattern ( #15618 )
2026-04-15 17:45:01 -10:00
J. Nick Koston
053cee4ec9
[core] Use ENTITY_TYPES_H_TARGET constant in helpers.py
2026-04-09 14:52:37 -10:00
J. Nick Koston
7d87b32033
[core] Exclude entity_types.h from clang-tidy all-include.cpp
...
The X-macro file requires macros to be defined before inclusion and
cannot be included bare in the clang-tidy all-include header.
2026-04-09 14:52:04 -10:00
Tomer27cz
f01762ea44
[ci] move import to function ( #15440 )
2026-04-05 19:17:52 -04:00
Javier Peletier
0c5f055d45
[core] cpp tests: Allow customizing code generation during tests ( #14681 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-18 00:16:01 +00:00
J. Nick Koston
56f7b3e61b
[ci] Only run integration tests for changed components ( #14776 )
2026-03-13 13:20:35 -10:00
Javier Peletier
e82f0f4432
[cpptests] support testing platform components ( #13075 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-10 02:41:02 +00:00
J. Nick Koston
d6ce5dda81
[ci] Skip YAML anchor keys in integration fixture component extraction ( #14670 )
2026-03-09 22:54:56 +00:00
Jonathan Swoboda
3d673ac55e
[ci] Check changed headers in clang-tidy when using --changed ( #12540 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-17 11:13:18 -10:00
Keith Burzinski
d4bd282bb4
[helpers] Fix unit tests following #12135 ( #12237 )
2025-12-01 22:08:49 +00:00
J. Nick Koston
ce5e608863
[ci] Skip memory impact analysis for release and beta branches ( #11740 )
2025-11-05 14:32:45 -06:00
J. Nick Koston
060bb4159f
[ci] Cache component dependency graph for up to 3.4x faster determine-jobs ( #11648 )
2025-11-04 17:38:57 +13:00
J. Nick Koston
980098ca77
[ci] Fix non-component files incorrectly detected as components ( #11701 )
2025-11-04 16:47:11 +13:00
J. Nick Koston
f6e4c0cb52
[ci] Fix component tests not running when only test files change ( #11580 )
2025-10-29 16:22:28 +13:00
Javier Peletier
ae50a09b4e
C++ components unit test framework ( #9284 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-10-21 22:21:22 +00:00
J. Nick Koston
0ae9009e41
[ci] Fix clang-tidy split mode for core file changes ( #11434 )
2025-10-20 20:39:50 -10:00
J. Nick Koston
a0922bc8b0
[ci] Add automated memory impact analysis for pull requests ( #11242 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-20 07:43:38 +13:00
Jesse Hills
0acc58d5a1
[core] Update helpers for new auto load functionality ( #11097 )
2025-10-07 14:24:28 -05:00
Jesse Hills
9ea3643b74
[core] os.path -> Path ( #10654 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-19 12:59:48 +00:00
J. Nick Koston
0dda3faed5
[CI] Fix CI job failures for PRs with >300 changed files ( #10215 )
2025-08-13 15:46:56 +12:00
Jesse Hills
d8a46c7482
[CI] Allow multiple grep options for clang-tidy ( #10004 )
2025-08-01 21:40:53 +12:00
J. Nick Koston
ffebd30033
[ruff] Enable SIM rules and fix code simplification violations ( #9872 )
2025-07-25 18:26:08 +12:00
J. Nick Koston
9e621a1769
Update script/helpers.py to use ESPHome YAML parser for integration fixtures ( #9544 )
2025-07-16 22:19:27 +12:00
J. Nick Koston
8953e53a04
CI: Centralize test determination logic to reduce unnecessary job runners ( #9432 )
2025-07-11 21:54:57 +12:00
J. Nick Koston
e9c7596e00
Fix clang-tidy triggering full scan on Python-only core file changes ( #9412 )
2025-07-10 12:41:59 +12:00
J. Nick Koston
6616567b05
Speed up clang-tidy CI by 80%+ with incremental checking ( #9396 )
2025-07-10 09:00:44 +12:00
Clyde Stubbs
5c92367ca2
[script] Use local import for zephyr ( #8822 )
2025-05-16 23:41:19 +00:00
tomaszduda23
7c0546c9f0
[clang] clang tidy support with zephyr ( #8352 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-05-12 23:36:34 +00:00
J. Nick Koston
abbd72e802
Use the process CPU count to determine how many children to create ( #8268 )
2025-02-19 06:10:33 +13:00
tomaszduda23
f13cf1f7a0
adjust to new python pre-commit hooks ( #7178 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-08-12 16:52:09 +12:00
Jesse Hills
73f786c606
[code-quality] Organise script imports ( #7198 )
2024-08-06 22:46:37 -05:00
Jesse Hills
1148d41a66
Fix list-components when PR is not targeting dev ( #6375 )
2024-03-16 14:22:34 +13:00
Clyde Stubbs
a2e152ad12
clang-format and clang-tidy scripts: More robust algorithm to find correct executable ( #6041 )
...
* More robust algorithm to find correct executable
* Revise message wording
* Add clang-tidy and clang-format to requirements.txt.
Add to message explaining install process.
* Extracted get_binary to helpers.py. Use execptions for clean exit.
* Add parameter types
* clang-{tidy,format} in requirements_test.txt
clean up script exit
* Kill processes on ^C
* Move clang-tidy and clang-format into requirements_dev.txt
2024-01-02 23:00:52 -06:00
Jesse Hills
d2d0058386
Lint the script folder files ( #5991 )
2023-12-22 16:03:47 +09:00