mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Speeds up lint and test in docker by keeping the cache between invocations. (#5177)
* Add a volume to store the tox cache on the host. This gives quite some speed boost when running lint_docker and test_docker. * Only map .tox directory for cache.
This commit is contained in:
committed by
Paulus Schoutsen
parent
74aa8194d7
commit
cb85128304
@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Execute lint to spot code mistakes.
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [ "$1" = "--changed" ]; then
|
||||
export files="`git diff upstream/dev --name-only | grep -e '\.py$'`"
|
||||
echo "================================================="
|
||||
|
Reference in New Issue
Block a user