From 138491fef43a2b36006ea14487ce276e755596a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Senart?= <> Date: Sun, 12 Jan 2025 19:08:57 +0100 Subject: [PATCH] [#27] In a Github workflow, run unit tests inside a HA DevContainer --- tests/config/secrets.yaml | 2 +- tests/containers/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/config/secrets.yaml b/tests/config/secrets.yaml index ccfbac5..3210c6b 100644 --- a/tests/config/secrets.yaml +++ b/tests/config/secrets.yaml @@ -1,3 +1,3 @@ -homeassistant.host: localhost +homeassistant.host: 127.0.0.1 homeassistant.port: 6123 homeassistant.token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkMjEzYThmZWI0MWU0OGZlYWVkYWU3OTc1NDY1ZjQyNyIsImlhdCI6MTczNjY4ODI4NSwiZXhwIjoyMDUyMDQ4Mjg1fQ.tOuVOF2XCEupUkw8z5p9Rwc3q5r0bqgqWI84irD4bP0 diff --git a/tests/containers/docker-compose.yaml b/tests/containers/docker-compose.yaml index 6d10558..a1d0be7 100644 --- a/tests/containers/docker-compose.yaml +++ b/tests/containers/docker-compose.yaml @@ -5,6 +5,6 @@ services: restart: always network_mode: bridge volumes: - - ./tests/config:/config + - ./config:/config ports: - 6123:8123