Files
homeassistant-stelloauth-addon/.gitea/workflows/ci.yml
T
2026-09-24 19:56:34 +02:00

26 lines
823 B
YAML

name: CI
"on":
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Build validation image
run: docker buildx build --platform linux/amd64 --file tests/Dockerfile.ci --load --tag homeassistant-stelloauth-tests:test .
- name: Validate metadata, patches, and process manager
run: docker run --rm homeassistant-stelloauth-tests:test -q
- name: Build amd64 image
run: docker buildx build --platform linux/amd64 --build-arg BUILD_ARCH=amd64 --load --tag homeassistant-stelloauth-addon:test stelloauth
- name: Exercise runtime
run: SKIP_BUILD=1 tests/test_runtime.sh