mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
install requirements inside the container
This commit is contained in:
@@ -92,16 +92,15 @@ jobs:
|
||||
- name: Pull Home Assistant Container
|
||||
run: docker pull homeassistant/home-assistant:beta
|
||||
|
||||
- name: Install requirements
|
||||
run: python3 -m pip install pipdeptree==1.0.0 stdlib-list==0.7.0 tqdm==4.48.2
|
||||
|
||||
- name: Run hassfest
|
||||
run: |
|
||||
integration=$(python3 -m scripts.helpers.integration_path)
|
||||
domain=$(python3 -m scripts.helpers.domain)
|
||||
docker run --entrypoint="" -v "$integration":"/$domain" \
|
||||
homeassistant/home-assistant:beta python3 -m \
|
||||
script.hassfest --action validate --integration-path "/$domain"
|
||||
homeassistant/home-assistant:beta \
|
||||
python3 -m pip install pipdeptree==1.0.0 stdlib-list==0.7.0 tqdm==4.48.2 \
|
||||
\
|
||||
&& python3 -m script.hassfest --action validate --integration-path "/$domain"
|
||||
|
||||
hacs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user