From 4cc7ad81813379aeb90f475343ff23e956a11503 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Wed, 16 Aug 2023 11:54:51 +0200 Subject: [PATCH] Updated ci-validation.yaml --- .github/workflows/ci-validation.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-validation.yaml b/.github/workflows/ci-validation.yaml index a32bdfa3..2e532554 100644 --- a/.github/workflows/ci-validation.yaml +++ b/.github/workflows/ci-validation.yaml @@ -19,6 +19,7 @@ jobs: runs-on: ubuntu-latest steps: + - name: ⤵️ Check out configuration from GitHub - uses: actions/checkout@v3 - name: Set up Python 3.11 @@ -36,19 +37,19 @@ jobs: run: | python3 -m pip install homeassistant - - name: Use dummy files for credentials - run: | - cp .secrets_dummy.yaml secrets.yaml - cp credentials/.google_dummy.json credentials/google.json - - - name: Installing Custom Components + - name: Install Custom Components run: | mkdir custom_components/ # Monitor Docker git clone https://github.com/ualex73/monitor_docker mv monitor_docker/custom_components/monitor_docker/ custom_components/ - - name: Home Assistant Configuration Check + - name: Use dummy files for credentials + run: | + cp .secrets_dummy.yaml secrets.yaml + cp credentials/.google_dummy.json credentials/google.json + + - name: 🚀 Run Home Assistant Configuration Check run: | sed -i "/\b\(mobile_app\)\b/d" configuration.yaml hass --script check_config --config . --info -- 2.47.3