mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 13:10:30 -04:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
45 lines
779 B
YAML
45 lines
779 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- build.yaml
|
|
- config.yaml
|
|
- build.json
|
|
- config.json
|
|
- Dockerfile
|
|
- rootfs/**
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- build.yaml
|
|
- config.yaml
|
|
- build.json
|
|
- config.json
|
|
- Dockerfile
|
|
- rootfs/**
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Build add-on
|
|
strategy:
|
|
matrix:
|
|
arch: ["amd64", "armv7", "aarch64"]
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4.1.7
|
|
|
|
- name: Build add-on
|
|
uses: home-assistant/builder@master
|
|
with:
|
|
args: |
|
|
--test \
|
|
--${{ matrix.arch }} \
|
|
--target /data/ \
|
|
--addon
|