mirror of
https://github.com/alexhopeoconnor/arduino-home-assistant.git
synced 2026-10-21 18:22:38 +10:00
release: prepare ArduinoHA v3.2.0
This commit is contained in:
@@ -9,8 +9,37 @@ permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
test_harness:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- home_assistant: "2024.11.3"
|
||||
- home_assistant: stable
|
||||
env:
|
||||
HA_VERSION: ${{ matrix.home_assistant }}
|
||||
TEST_HARNESS_EXPECT_DISABLED_CLEANUP: "0"
|
||||
COMPOSE_FILE: tests/ha-test-harness/compose.yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Start broker and Home Assistant
|
||||
run: docker compose up -d mqtt homeassistant
|
||||
- name: Check single-to-device migration
|
||||
run: docker compose run --rm tests
|
||||
- name: Restart Home Assistant from retained data
|
||||
run: docker compose restart homeassistant
|
||||
- name: Check retained discovery after restart
|
||||
run: docker compose run --rm -e TEST_HARNESS_MODE=retained-restart tests
|
||||
- name: Collect Home Assistant logs on failure
|
||||
if: failure()
|
||||
run: docker compose logs --no-color homeassistant mqtt
|
||||
- name: Remove test harness volumes
|
||||
if: always()
|
||||
run: docker compose down -v
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test_harness
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
|
||||
Reference in New Issue
Block a user