Commit graph

86 commits

Author SHA1 Message Date
tomaszduda23
f322ec8f3d
use cache to build tests for compoenents () 2024-07-22 11:33:26 +12:00
Keith Burzinski
300d48a55e
[CI] Remove old test yamls () 2024-06-27 10:54:17 +12:00
Keith Burzinski
761aae6f89
[CI] Allow clang-tidy to see IDF components ()
* Allow clang-tidy to see IDF components

* Remove camera, add tflite-micro
2024-06-13 05:15:38 -05:00
dependabot[bot]
8453d9a70d
Bump actions/checkout from 4.1.6 to 4.1.7 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-13 09:27:15 +12:00
Jesse Hills
2044c7e4d4
[CI] Fix for sdl () 2024-06-12 19:58:56 +12:00
Clyde Stubbs
bc408ad08c
[display] SDL2 display driver for host platform () 2024-06-12 13:42:01 +12:00
dependabot[bot]
a85d37a1cf
Bump actions/checkout from 4.1.5 to 4.1.6 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 08:12:32 +12:00
Jesse Hills
ca5050d4a5
[github] Only save platformio cache for dev branch () 2024-05-10 11:04:32 +12:00
dependabot[bot]
594769be3c
Bump actions/checkout from 4.1.1 to 4.1.5 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 09:09:04 +12:00
Jesse Hills
b1839702f9
[tests] Run yaml tests in groups if over 100 to run () 2024-04-23 21:19:10 +12:00
Jesse Hills
a7fb2ce3e1
Use clang-format version from requirements_dev file () 2024-04-23 11:01:20 +12:00
Clyde Stubbs
2fed6955de
On failure, dump the output of preceding jobs in CI status () 2024-04-18 12:11:00 +12:00
dependabot[bot]
1207eda4ca
Bump actions/setup-python from 5.0.0 to 5.1.0 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 12:41:43 +13:00
Jesse Hills
0ff543ffe5
Disable truthy yamllint rule () 2024-03-28 10:20:51 +13:00
dependabot[bot]
b12ccd460b
Bump actions/cache from 4.0.1 to 4.0.2 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 21:15:03 +13:00
Jesse Hills
1148d41a66
Fix list-components when PR is not targeting dev () 2024-03-16 14:22:34 +13:00
dependabot[bot]
db813bbf04
Bump actions/cache from 4.0.0 to 4.0.1 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-03-11 11:09:40 +13:00
Jesse Hills
89b3bc7d70
Set dependabot to look at composite actions versions () 2024-03-11 10:36:44 +13:00
Clyde Stubbs
0bc645ded7
Fix build failures on host platform caused by ()
* Fix build failures for logger component on host platform

* Add climits header

* Restore logger functionality on host

* Install libsodium in ci
2024-03-09 21:08:58 -06:00
Jesse Hills
75af4c3d62
Fix yamllint () 2024-02-21 17:14:30 +13:00
dependabot[bot]
57f53a0f16
Bump codecov/codecov-action from 3 to 4 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 15:56:28 +13:00
dependabot[bot]
6a6a70f1e5
Bump actions/cache from 3.3.2 to 4.0.0 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 10:08:29 +09:00
Fabian
c6f528583b
Proposal: Test yaml for each component ()
* 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
J. Nick Koston
fcd549e5b6
Run python tests on windows and macos ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-09 12:18:13 +09:00
dependabot[bot]
a6f1701902
Bump actions/setup-python from 4.7.1 to 5.0.0 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-07 01:08:50 +00:00
Jesse Hills
2adda3a994
Validate test files before compiling ()
* Validate test files before compiling

* Dont restrict parallel
2023-10-27 01:59:10 +00:00
dependabot[bot]
9a087c0767
Bump actions/checkout from 4.1.0 to 4.1.1 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 13:08:15 +13:00
dependabot[bot]
401a386219
Bump actions/setup-python from 4.7.0 to 4.7.1 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:25:15 +13:00
dependabot[bot]
c34d5111fc
Bump actions/checkout from 4.0.0 to 4.1.0 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 10:23:40 +13:00
Fabian
164631fcec
Ci find YAML tests dynamically ()
* Find all YAML test files dynamically.

* Merge error

* GitHub set-ouput syntax upgrade.

---------

Co-authored-by: Your Name <you@example.com>
2023-09-17 17:24:31 +12:00
Keith Burzinski
736dbfac13
Add IDF 5 test yaml, add adc to IDF tests, fix adc for IDF 5 () 2023-09-13 11:36:17 +12:00
Jesse Hills
bff74af882
Workflow updates () 2023-09-13 10:06:32 +12:00
Lubos Horacek
b107948c47
Wireguard component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Simone Rossetto <simros85@gmail.com>
Co-authored-by: Thomas Bernard <thomas0bernard@gmail.com>
2023-09-12 07:13:24 +12:00
dependabot[bot]
b19a7e006e
Bump actions/cache from 3.3.1 to 3.3.2 ()
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 08:57:10 +12:00
dependabot[bot]
343278b291
Bump actions/checkout from 3 to 4 ()
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 18:11:46 +12:00
Sergey Dudanov
cd72a2ed7e
Bump clang-tidy from 11 to 14 () 2023-07-31 07:44:56 +12:00
Jesse Hills
ac5246e21d
Remove yaml test cache () 2023-06-28 12:22:14 +12:00
Jesse Hills
5a8b7c17da
Fix python venv restoring ()
* Fix python venv restoring

* Add shell

* Fix indentation
2023-06-19 16:08:23 -05:00
dependabot[bot]
4858882816
Bump frenck/action-yamllint from 1.4.0 to 1.4.1 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 13:17:57 +12:00
Stefan Rado
8384bd7fc7
Run YAML test 8 during CI and fix board used () 2023-05-22 08:08:33 +12:00
Jesse Hills
90598d2405
Rework CI into multiple dependent jobs () 2023-05-17 16:28:09 +12:00
Jesse Hills
cc1eb648f9
Only allow 5 jobs from each CI run to be in parallel () 2023-04-12 22:46:19 +00:00
Oxan van Leeuwen
14e38f0469
Upgrade clang-format to v13 ()
* Upgrade clang-format to v13

* Apply clang-format-13 formatting changes

* Format

* Format bme_680

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-20 03:38:41 +00:00
Jesse Hills
0b383542da
Split test3.yaml () 2023-03-19 22:39:02 +00:00
Jesse Hills
14e7b8a1ef
Run CI on merge group () 2023-02-26 20:13:45 +00:00
Jesse Hills
c02871fdfe
Add final job so branch protection can require matrix ci steps () 2023-02-13 23:54:38 +00:00
dependabot[bot]
2a8745d7e0
Bump frenck/action-yamllint from 1.3.1 to 1.4.0 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 18:27:30 +13:00
Garret Buell
a19f0c0db0
Fix HttpRequestResponseTrigger again ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
fixes https://github.com/esphome/issues/issues/4010
2023-01-11 14:50:01 +13:00
dependabot[bot]
3d927c2f44
Bump frenck/action-yamllint from 1.3.0 to 1.3.1 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 09:38:21 +13:00
Jesse Hills
6153bcc6ad
Initial Support for RP2040 platform ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-20 16:50:39 +13:00