added more requirements and dockerfile for tests
This commit is contained in:
1 parent
c5f985b5f6
commit
db0147e7c1
4 files changed
+21
-3
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
*/__pycache__/
|
||||||
|
*.pyc
|
||||||
|
.DS_Store
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
FROM python:3
|
||||||
|
|
||||||
|
COPY requirements.txt .
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
COPY tests ./tests
|
||||||
|
COPY custom_components ./custom_components
|
||||||
|
|
||||||
|
RUN python3 -m unittest discover -s tests -p "*_test.py"
|
||||||
+7
-1
@@ -2,4 +2,10 @@ homeassistant
|
|||||||
bleak_retry_connector
|
bleak_retry_connector
|
||||||
pyserial
|
pyserial
|
||||||
bluetooth_auto_recovery
|
bluetooth_auto_recovery
|
||||||
crcmod
|
crcmod
|
||||||
|
typing
|
||||||
|
asyncio
|
||||||
|
logging
|
||||||
|
bleak
|
||||||
|
async_timeout
|
||||||
|
aiousbwatcher
|
||||||
Reference in new issue
Block a user