mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 13:38:04 +00:00
* Allow bower install of frontend components as root. Needed for frontend development in docker since everything runs as root in the docker image. * Improve development workflow in docker * Use LANG=C.UTF-8 in tox. Fixes installation of libraries with UTF-8 in it's readme. * Install mysqlclient psycopg2 uvloop after requirements_all.txt again, but with a --no-cache-dir this time. Allows bootstrap_frontend to be executed in a different path like the other scripts.
9 lines
218 B
Bash
Executable File
9 lines
218 B
Bash
Executable File
#!/bin/sh
|
|
# Excutes the tests with tox in a docker container.
|
|
|
|
# Stop on errors
|
|
set -e
|
|
|
|
docker build -t home-assistant-test -f virtualization/Docker/Dockerfile.dev .
|
|
docker run --rm -it home-assistant-test tox -e py35
|