Files
ha-addon-teslamate/.github/workflows/test.yaml
T
Colin Seymour a73430c34d Add optional env vars config option (#29)
* Add optional env vars config option

* Don't use master builder

It's borked - https://github.com/home-assistant/builder/issues/212

* Use specific builder version
2024-08-11 12:22:12 +01:00

45 lines
782 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@2024.03.5
with:
args: |
--test \
--${{ matrix.arch }} \
--target /data/ \
--addon