ci: test config against hassio latest and dev
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-10-18 10:39:03 +02:00
parent c8366fcdb8
commit 8b28285c0f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 49 additions and 0 deletions

26
.woodpecker/notify.yml Normal file
View File

@ -0,0 +1,26 @@
---
when:
- event: [tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
runs_on: [failure]
steps:
- name: matrix
image: quay.io/thegeeklab/wp-matrix
settings:
homeserver:
from_secret: matrix_homeserver
room_id:
from_secret: matrix_room_id
user_id:
from_secret: matrix_user_id
access_token:
from_secret: matrix_access_token
when:
- status: [success, failure]
depends_on:
- test

23
.woodpecker/test.yml Normal file
View File

@ -0,0 +1,23 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &pytest_base
depends_on: []
commands:
- hass -c ${CI_WORKSPACE} --script check_config
environment:
PY_COLORS: "1"
steps:
- name: hassio-dev
image: ghcr.io/home-assistant/home-assistant:dev
<<: *pytest_base
- name: hassio-latest
image: ghcr.io/home-assistant/home-assistant:latest
<<: *pytest_base