From 80e2159f2b650519dc206cc489c96df9131ed225 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Wed, 9 Sep 2020 08:41:28 +0000 Subject: [PATCH] install requirements inside the container --- .github/workflows/checks.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 653b4df..157cb26 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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