esphome/script
Fabian c6f528583b
Proposal: Test yaml for each component (#5398)
* Test for each component.

* When possible use commandline substitution.

* Add wildcard support.

* end file with new line.

* Move component tests into subfolder.

* Add component test to pipeline.

* Remove trailing whitespace.

* add restore python step.

* Add `. venv/bin/activate` to pipeline.

* step `changed-components` needs `common` step.

* start `list-components-changed.py` different.

* iterate on pipeline stage `list-components`.

* Update `checkout` action.

* Rename test folder from `tests` to `_test`.

* validate file exists.

* Move component test folder.

* extend list-components to include child components.

* File does not end with a newline

* Handle empty list-components matrix.

* list-components also check for changes in tests folder.

* Improve `list-components.py`.

* `*` is a forbidden character for filenames on windows.

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-01-18 01:13:40 -06:00
..
api_protobuf Lint the script folder files (#5991) 2023-12-22 16:03:47 +09:00
build_codeowners.py web server esp idf suppport (#3500) 2023-07-11 19:08:03 -05:00
build_language_schema.py Lint the script folder files (#5991) 2023-12-22 16:03:47 +09:00
bump-version.py Lint the script folder files (#5991) 2023-12-22 16:03:47 +09:00
ci-custom.py Lint the script folder files (#5991) 2023-12-22 16:03:47 +09:00
ci-suggest-changes 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
clang-format clang-format and clang-tidy scripts: More robust algorithm to find correct executable (#6041) 2024-01-02 23:00:52 -06:00
clang-tidy clang-format and clang-tidy scripts: More robust algorithm to find correct executable (#6041) 2024-01-02 23:00:52 -06:00
component_test Fixed component_tests config (#1608) 2021-03-12 19:58:43 -03:00
devcontainer-post-create Redo docker build system with buildkit+multi-stage and cache pio packages (#2338) 2021-09-20 09:07:38 +02:00
fulltest Proposal: Test yaml for each component (#5398) 2024-01-18 01:13:40 -06:00
helpers.py clang-format and clang-tidy scripts: More robust algorithm to find correct executable (#6041) 2024-01-02 23:00:52 -06:00
lint-cpp Fix default environment for clang-tidy (#2420) 2021-09-30 16:24:02 +02:00
lint-python Bump python min to 3.9 (#3871) 2022-10-05 20:09:27 +13:00
list-components.py Proposal: Test yaml for each component (#5398) 2024-01-18 01:13:40 -06:00
platformio_install_deps.py Only pre-install libraries in docker images (#4766) 2023-05-01 15:57:57 +12:00
quicklint Fix ci-custom.py const.py ordered check and improve code (#1222) 2020-07-29 18:19:48 +02:00
setup update script/setup so it works fine on windows (#6087) 2024-01-15 11:08:10 +09:00
sync-device_class.py Lint the script folder files (#5991) 2023-12-22 16:03:47 +09:00
test Run all tests when local testing. (#5717) 2023-11-25 10:18:36 +11:00
test_build_components Proposal: Test yaml for each component (#5398) 2024-01-18 01:13:40 -06:00
unit_test Unittests for esphome python code (#931) 2020-03-12 14:27:22 -07:00