From 6da6860373cd4c21cc7ec831db985256cdfb90a1 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Wed, 9 Sep 2020 08:50:09 +0000 Subject: [PATCH] Set working dir --- .github/workflows/checks.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 157cb26..846cd3d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -96,9 +96,15 @@ jobs: run: | integration=$(python3 -m scripts.helpers.integration_path) domain=$(python3 -m scripts.helpers.domain) - docker run --entrypoint="" -v "$integration":"/$domain" \ + docker run \ + --entrypoint="" \ + -w="/usr/src/homeassistant" \ + -v "$integration":"/$domain" \ homeassistant/home-assistant:beta \ - python3 -m pip install pipdeptree==1.0.0 stdlib-list==0.7.0 tqdm==4.48.2 \ + 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"