1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-29 02:09:44 +01:00
Files
.devcontainer
.github
.vscode
docker
esphome
script
api_protobuf
build_codeowners.py
build_language_schema.py
bump-version.py
ci-custom.py
ci-suggest-changes
clang-format
clang-tidy
component_test
devcontainer-post-create
extract_automations.py
fulltest
helpers.py
lint-cpp
lint-python
list-components.py
platformio_install_deps.py
quicklint
run-in-env.sh
setup
setup.bat
sync-device_class.py
test
test_build_components
unit_test
tests
.clang-format
.clang-tidy
.coveragerc
.dockerignore
.editorconfig
.flake8
.gitattributes
.gitignore
.pre-commit-config.yaml
.yamllint
CODEOWNERS
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
MANIFEST.in
README.md
platformio.ini
pyproject.toml
requirements.txt
requirements_dev.txt
requirements_optional.txt
requirements_test.txt
sdkconfig.defaults
esphome/script/fulltest
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

16 lines
197 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
set -x
script/ci-custom.py
script/lint-python
script/lint-cpp
script/unit_test
script/component_test
script/test
script/test_build_components