Commit graph

6 commits

Author SHA1 Message Date
Mario Guggenberger
6283158ff7
VS Code Dev Container (dev & test environment) (#605)
* build: dev container

Add a VS Code Dev Container from the blueprint at bceaae212f

* build: dev container test setup

Add support for unit testing in the dev container environment with debugging and code coverage.

* ci: adjust to dev container test restructuring

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ci: fix coverage collection

* build: add dummy light to HA config

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* build: update dev container to Python 3.11 (for HA 2023.6)

* Add VS Code tasks

* Use pre-commit hooks for linting

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Unpin HA version

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
2023-06-11 15:33:07 -07:00
Bas Nijholt
eb43e1755e
Use ENTRYPOINT and CMD (#482) 2023-03-27 05:07:07 +00:00
Bas Nijholt
85461ea856
Always color the logs and print coverage report (#481) 2023-03-27 04:37:21 +00:00
Bas Nijholt
8b3a9d6755
Try installing extra deps such that bcrypt and cryptography can be installed in arm/v7 (#474) 2023-03-27 01:50:49 +00:00
Bas Nijholt
87af937f41
Set clone depth=1 to speedup the cloning of home-assistant/core (#472) 2023-03-27 01:38:20 +00:00
Bas Nijholt
1b08e8e6ba
Add testing Dockerfile (#470)
* Add testing Dockerfile

* Add comments

* Format table

* Add tests/README.md

* Rephrase

* add note in dockerfile
2023-03-27 01:18:18 +00:00