Commit Graph

6 Commits

Author SHA1 Message Date
tomaszduda23
894d81c577
[CI] Allow running specific target test(s) only (#7051) 2024-07-08 21:07:54 -05:00
Keith Burzinski
f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions

* Rename Arduino test files
2024-06-17 16:32:11 -05:00
tomaszduda23
4469ba4024
[tests] make test_build_components work with venv without installing esphome (#6761) 2024-05-19 11:47:23 +12:00
Jesse Hills
a700ae481d
Fix command line substitutions without any yaml substitutions (#6644) 2024-04-29 07:33:52 +12:00
Keith Burzinski
b5e633a2f3
Fix test_build_components for macOS sed (#6278) 2024-02-26 07:37:35 +13:00
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