Update hassfest (#795)

This commit is contained in:
Joakim Sørensen
2021-01-30 14:31:38 +01:00
committed by GitHub
parent 6a14842e93
commit f0e5f465d4
4 changed files with 16 additions and 20 deletions
+13 -17
View File
@@ -86,29 +86,25 @@ jobs:
name: repositories
path: /tmp/repositories
- name: Pull Home Assistant Container
run: docker pull homeassistant/home-assistant:beta
- name: Get hassfest action
run: |
git clone --depth 1 https://github.com/home-assistant/actions.git /tmp/actions
echo "::add-matcher::/tmp/actions/hassfest/problem-matcher.json"
- name: Enable problem-matcher
run: echo "::add-matcher::/tmp/actions/hassfest/problem-matcher.json"
- name: Build hassfest
run: docker build /tmp/actions/hassfest -f /tmp/actions/hassfest/Dockerfile -t hassfest
- name: Run hassfest
run: |
integration=$(python3 -m scripts.helpers.integration_path)
domain=$(python3 -m scripts.helpers.domain)
docker run \
--entrypoint="" \
-w="/usr/src/homeassistant" \
-v "$integration":"/$domain" \
homeassistant/home-assistant:beta \
/bin/bash -c "\
python3 -m pip --disable-pip-version-check install \
pipdeptree==1.0.0 \
stdlib-list==0.7.0 \
tqdm==4.48.2 \
\
&& python3 -m \
script.hassfest \
--action validate \
--integration-path /$domain \
"
--rm \
-v "$integration":"/github/workspace/$domain" \
hassfest
hacs:
runs-on: ubuntu-latest
name: "Run HACS Action"
+1 -1
View File
@@ -453,4 +453,4 @@
"zachowj/hass-node-red",
"zha-ng/zha-map",
"zigul/HomeAssistant-CEZdistribuce"
]
]
+1 -1
View File
@@ -198,4 +198,4 @@
"Villhellm/lovelace-animated-background",
"Villhellm/lovelace-clock-card",
"Voxxie/lovelace-jumbo-card"
]
]
+1 -1
View File
@@ -61,4 +61,4 @@
"Poeschl/slate_red",
"seangreen2/slate_theme",
"wowgamr/animated-weather-card"
]
]